Announcement

Collapse
No announcement yet.

Can not run Command Line Scripts with SET command

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can not run Command Line Scripts with SET command

    I have been testing the the command line scripts under windows vista.

    I am able to run the the simple commands however any of the more complex scripts that contain commands like the one below fail. There seems to be an issue using the command set.... Does any one know how to make these work?

    set DVDSOURCE=J:\MOVIE\folders
    set DESTDIR=C:\MOVIE\mp4

    #2
    I did this in Vista and it works.

    If you do the following in a batch file (must be batch file) what happens.

    set DVDSOURCE=J:\MOVIE\folders
    echo %DVDSOURCE%

    Should see this:

    C:\fabbatch\wcommand>set DVDSOURCE=J:\MOVIE\folders
    C:\fabbatch\wcommand>echo %DVDSOURCE%
    J:\MOVIE\folders


    Note: You cannot have spaces after the SET command. They become part of the variable and it is probably not what you want.

    Comment

    Working...
    X