Loading ...
Sorry, an error occurred while loading the content.

Messages List

8876

Re: Date & Time for file name

Glenn is correct. I modified as below and it worked for me. It was the space before “Time_” that caused the problem. I removed quotes from “set
Marc Peterson
Dec 20, 2013
#8876
 
8875

Re: Date & Time for file name

What is your email address Gary? I have tried docfxit2@... as well as docfxit@... In both cases I have got a non deliverable. Regards /
pboehm1962
Dec 20, 2013
#8875
 
8874

Re: Date & Time for file name

Hi Marc, Thanks for the reply... I originally didn't have those in there. It didn't work. What happened to foxidrive. I haven't heard from him in quite a
Gary Kuznitz
Dec 20, 2013
#8874
 
8873

Re: Date & Time for file name

Accidentally you cannot trust the Echo %date% output. It can either be MM/DD/YY or MM/DD/YYYY or DD/MM/YYYY unless you look in the regional settings about the
pboehm1962
Dec 20, 2013
#8873
 
8872

Re: Date & Time for file name

I haven't looked carefully or tested anything, but on quick glance, some of those single quote marks look suspicious. Make sure they're all necessary &
Marc Peterson
Dec 20, 2013
#8872
 
8871

Re: Date & Time for file name

Try this: If not exist "%backupDir%\Date_%varTodaysDate% Time_%varTime%\" Glenn Lawler www.incodesystems.com http://www.incodesystems.com
incode1
Dec 20, 2013
#8871
 
8870

Date & Time for file name

I would like to use the date & time for a backup file name. I have a bat file that I would like someone to help me with the correct syntax. SET
Gary Kuznitz
Dec 19, 2013
#8870
 
8869

Re: Run exe if "model number"

Try this: FOR /F %%f IN ('wmic csproduct get name') DO IF "%%f"=="4242RR7" MyProg.exe Glenn Lawler www.incodesystems.com http://www.incodesystems.com ... I
incode1
Nov 7, 2013
#8869
 
8868

Run exe if "model number"

I want a batch file to run an executable, but only if the laptop model number is 4242RR7 To get the laptop model number, I run "wmic csproduct get name". This
Aristos Vasiliou
Nov 7, 2013
#8868
 
8867

Re: Digest Number 1928

Rights are one reason, you may be disallowed from deleting a file. Another would be if the file is open, you then get: "The process cannot access the file
Glenn B. Lawler
Aug 30, 2013
#8867
 
8866

Changing permissions in a BAT file

I need to delete these files: del "C:\Windows\System32\DriverStore\en-US\hp*.*" I'm getting an error: Access is denied I've tried running it a administrator
Gary Kuznitz
Aug 29, 2013
#8866
 
8865

Re: Unzip can't find file

Try: @echo off Set SavedIn=C:\Dnload\QuattroProLegalSystemZenas\ for %%f in (%SavedIn%ZenasMacros.zip) do pkunzip -e -o %%~fsf C:\Cases\Zenas\Macros\*.* for
Aleksey D. Tetyorko
May 17, 2013
#8865
 
8864

Re: Unzip can't find file

... I've tried: PKUNZIP.EXE -e -o C:\Dnload\QuattroProLegalSystemZenas\ZenasMacros\ZenasMacros.zip and the output was (my PKUNZIP version is 2.50 as you see)::
Aleksey D. Tetyorko
May 17, 2013
#8864
 
8863

Re: Unzip can't find file

Thanks for looking at it. It's ver. 2.04g Gary On 18 May 2013 at 2:07, Aleksey (Aleksey D. Tetyorko )
Gary Kuznitz
May 17, 2013
#8863
 
8862

Re: Unzip can't find file

If you put the cursor on it and move it with the arrow you will see there is no space. The only thing I can see is that in the bat file I have:
Aleksey D. Tetyorko
May 17, 2013
#8862
 
View First Topic Go to View Last Topic
Loading 1 - 15 of total 8,876 messages