Jump to content
Ketarin forum

Global variables issue


FranciscoR
 Share

Recommended Posts

Sorry, now I remember know what my problem was and I reproduce it again.

 

Use

{rem1}=rem, and it works, command is not executed.

 

Use

{rem1} w/var value empty, and command is not properly executed:

 

12-01-2009 15:40:27: Update started with 1 application(s)
12-01-2009 15:40:34: WinRar: Checking if update is required...
12-01-2009 15:40:34: WinRar: Update required, 'D:\Programas\Unpack\wrar380.exe' does not yet exist
12-01-2009 15:40:45: WinRar: Executing command: {rem1} dir D:\Programas/o:e-s /s > D:\Programas\List.txt & echo %DATE% %TIME% WinRar >> D:\Programas\Updates.txt
12-01-2009 15:40:45: WinRar: Command result: D:\Ketarin>{rem1} dir D:\Programas/o:e-s /s > D:\Programas\List.txt & echo %DATE% %TIME% WinRar >> D:\Programas\Updates.txt

D:\Ketarin>
12-01-2009 15:40:45: Update finished

 

In the above situation, List.txt is empty because {rem1} is in place, and it shouldn't be.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.