Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JV28132

    VBscript on MS Server 2003

    Can a vbscript movefiles from one place to another when it is executed on SQL Server 2003?
  2. JV28132

    Cscript for VBscript/Replicate object values/ requirements

    I am trying to execute the following command from c prompt to get an output of the script test that should echo information to a logfile. CScript.exe //NoLogo C:\Reike\Reike.vbs > C:\Reike\logfile.txt the script executes but no output. What needs to be installed to run cscript commands from...
  3. JV28132

    What is the best way to debug a script?

    Yes, this is very helpful. Most of the time they are run-time errors. I can typically find the syntax but I am used to stepping through the logic during run-time. Since that is not possible, and we need to keep the on error resume next in the code, this will help alot. Does placement of...
  4. JV28132

    moveFile is moving all but the last file

    yes the files all have the same file extension. Thank you for the idea for file type - didn't know that was possible. I'll give it a try and let you know. :)
  5. JV28132

    What is the best way to debug a script?

    I am using Visual Studio to debug vbscripts. However, when the script runs in Visual studio editor, it does not necessarily run when the script is executed. I would like to know how the vbscript is best debugged. Is there a debugger out there that will allow a step through process or do you...
  6. JV28132

    moveFile is moving all but the last file

    I have a script that is running and working fine. but it is using strStoragePath2 = "C:\Reike\Email\" StrFilePath = "C:\AC\Work\*.pdf" objFSO.MoveFile StrFilePath, strStoragePath2 The problem is that if the folder has 10 files the first 9 are being moved and the last file is not. Has...
  7. JV28132

    Move all *.pdf files from a folder

    Thank you everyone. removing the on error command allowed me to solve the problem. I appreciate everyone's help! :)
  8. JV28132

    Move all *.pdf files from a folder

    No - The files are not moving at all when the script is executed. but walking through with Visual Studio they will move. So I'm not sure of the differences and/or what the problem is. Why would the code execute successfully in Visual Studio and not in CScript.exe?
  9. JV28132

    Move all *.pdf files from a folder

    What exactly does this statement do?
  10. JV28132

    Move all *.pdf files from a folder

    I have verified that the pdf files are in existence and they actually move via visual studio but not when the script is executed via CScript. Is there a way to walk through CScript.exe line by line to determine the problem?
  11. JV28132

    Move all *.pdf files from a folder

    I have this script that will move all *.pdf files from a folder to a specific location. The script is as follows: It executes on Load and I can get it to work via Visual studio editor (stepping through) but when the vbscript runs, it does not work.. If anyone can understand why, please...

Part and Inventory Search

Back
Top