Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

![]() |
NT service integrit.exe h...
|
File synchronizing
|

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