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. bastek72pl

    wscript.Run - what am I doing wrong?

    Mark, your solution didn't work. And it seems I created loads of confusions with my script, but the only reason is that I didn't post it in full. Here it is. Set args = WScript.Arguments Set fso = CreateObject("Scripting.FileSystemObject") Set ws = CreateObject("WScript.Shell")...
  2. bastek72pl

    wscript.Run - what am I doing wrong?

    Thanks Mark, but I think the issue is there because of spaces within the variables. It seems the string is passed to cmd up to the first space character only, so I'm getting the error: 'c:\Program' is not recognized as an internal or external command... However, msgbox proves the string is...
  3. bastek72pl

    wscript.Run - what am I doing wrong?

    Dear Gurus, I'm completely new to windows scripting, so my question might look a bit odd to you. Anyway I'm pulling my hair to find a solution for thing to work: mp3splt = "c:\Program Files\mp3splt\mp3splt.exe" args.Item(0) = c:\some file.mp3 ws.Run "%comspec% /k " & chr(34) & mp3splt &...

Part and Inventory Search

Back
Top