Computing.Net > Forums > Windows NT > help needed ASAPwith 'call for ' command

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.

help needed ASAPwith 'call for ' command

Reply to Message Icon

Name: Cameron
Date: November 22, 2001 at 20:06:57 Pacific
Comment:

I really need some help pronto on a winnt problem . I have this batch file that works fine on win95 and with a recent upgrade I really need help on getting it to run on winnt ASAP. The batch file renames a file to the current time. If anyone has another batch file that can do the same i would be very gratefull for it. Please email me if you can help cameron.jones@nec.com.au
Here is the batch file details .......

[ptime.bat each line is seperated by a space ,some lines are really long]

@echo %dbgr% off

> {a}.bat echo @prompt set PTime=$_echo $ty $b del call /p $g {a}.bat

> {b}.bat %comspec% /e:2048 /c {a}.bat

> delete.bat echo set PTime=%%PTime%%%Delim2%%%{T}%%

>>delete.bat echo set {T}=%Delim1%

>>delete.bat echo for %%%%v in (0 1 2 3 4 5 6 7 8 9) do if %%1==(Y/N)?%%%%v set {T}=%%%%v

> call for %%v in ({b}.bat {a}.bat set) do call %%v {T}= for %%v in ({?}.bat delete.bat) do del %%v
for %%v in (%For example%) do %%v PTime: %PTime%


[it is used by doing this]
call ptime.bat
rename anyfilename.txt %ptime%.txt


[error is]
unexpected error %v in



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


NT service integrit.exe h... File synchronizing



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: help needed ASAPwith 'call for ' command

Need driver(s) for 3com 3C509B NIC -for NT 4.0 www.computing.net/answers/windows-nt/need-drivers-for-3com-3c509b-nic-for-nt-40/178.html

Need BAT files for unix commands www.computing.net/answers/windows-nt/need-bat-files-for-unix-commands/3077.html

I NEED A DRIVER FOR HP DESJET 670C www.computing.net/answers/windows-nt/i-need-a-driver-for-hp-desjet-670c/2879.html