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 gkittelson 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. roboyle

    Command Prompt within vb script.

    Works great now with a small exception. The command prompt remains open after it's run. The rename script won't run until it closes. Thanks again for all of your help!
  2. roboyle

    Command Prompt within vb script.

    Yes, this is correct. It is hitting the z:\Photograph folder, but instead of running the 'convert -resize 120x150 *.jpg' command, it just opens a command prompt.
  3. roboyle

    Command Prompt within vb script.

    Thanks Geates- Yes the file is named renamefiles.vbs I apologize for the lack of knowledge. I'm trying to tell the cmd to run when it's in the 'z:Photograph' folder. The 'convert -resize 120x150 *.jpg' is part of ImageMagick cmd for re-sizing images. I'm not intentionally trying to give it...
  4. roboyle

    Command Prompt within vb script.

    Thanks for the help. I included the end quote and ran again. Receiving an error message: Script: Z:\Photograph\renamefiles.vbs Line: 4 Char: 1 Error the system cannot find the file specified. Code: 80070002 Source: null I don't why it's pointing to renamefiles.vbs?
  5. roboyle

    Command Prompt within vb script.

    Hi Guys- Really new to vb scripting. Trying to run a command prompt within vb script. Dim fso,f,ext,firstChar,numOfPics,workingFolder,newFileName workingFolder = "." numOfPics = 0 Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder(workingFolder) For Each file In...
  6. roboyle

    Command Prompt within vb script.

    Hi Guys- Really quite new to vb scripting, I'm trying to set up a command prompt within a vb script. Dim fso,f,ext,firstChar,numOfPics,workingFolder,newFileName workingFolder = "." numOfPics = 0 Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder(workingFolder) For...

Part and Inventory Search

Back
Top