Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
was unexpected at this time
Name: abdussami Date: May 23, 2009 at 02:37:23 Pacific OS: Windows XP Subcategory: Batch
Comment:
hi,
following command works fine on command line. But in bacth file it gives error : was unexpected at this time.
for /F "tokens=2-4 delims=/ " %i in ('date /t') do ren temp1.tar %k%i%j.tar
Summary: I'm using the following command for /F %x in ('findstr /r /n "Output" C:\test\sasi.log | find /C ":"') do set XXX=%x echo %x and get the error message as "| was unexpected at this time." Actually ...
Summary: Hello all, I've written a big batch file which prompts you to insert a password. The password changes every hour. I made it based on time an date variables. So you can use the password - after an hour...
Summary: I'm attempting to use a registry query call that works fine in XP but fails in Vista - after reading through many forums, I'm still at a loss why Vista handles this differently then XP. What I'm atte...