... name ... Another approach would be to just rename the folder and check the ERRORLEVEL REN sets ERRORLEVEL to 1 if another file or folder exists with the...
8698
Gary Kuznitz
docfxit
Aug 12, 2012 7:53 pm
I would like to rename a folder. But first I want to make sure the folder name I am using does not exist. This is what I have: Set i=1 ... If exists...
8697
kn srivastava
goshainganj
Apr 8, 2012 4:00 pm
I finally decided to go with the script at http://chaucer.homeunix.net/pages/posts/7-zip-backup-script-for-windows25.php set...
8696
Michael Burek
mike_burek
Apr 8, 2012 3:17 am
Is the path for the parameter correct?: @C:\XXX92;sekasri Should it be @C:\Users92;XXX\sekasri You should only be able to access your own Users folder, and not...
8695
John O'Regan
sponge.belly
Apr 7, 2012 10:14 pm
Dear Kailash, Google to the rescue once again... Access Is Denied: http://goo.gl/uMghK Multiple Compressed Folders: http://goo.gl/1i0AW I hope this helps. I...
8694
kn srivastava
goshainganj
Apr 7, 2012 6:47 pm
Thank you for the information. I have the following command. 7z a -t7z -mx=9 -mtc=on -v20m -r E:\backup.7z @C:\XXX92;sekasri92;Documents92;cmds92;7backup92;include.lst...
Have anyone done backup using 7zip through a batch file? If so, can you share your batch script with me? If not, can you suggest me how I can do backup with...
8691
John O'Regan
sponge.belly
Apr 6, 2012 3:10 pm
Hi Again, I found a great link to a page on DosTips.com all about FTP scripts. http://www.dostips.com/DtTipsFtpBatchScript.php It should resolve all your...
8690
John O'Regan
sponge.belly
Apr 6, 2012 3:01 pm
Dear Alex, It's difficult to diagnose the problem when I don't know how your particular system is set up. But one or two things leapt out at me. First, I...
8689
alex
bontyal
Apr 6, 2012 1:43 pm
Hello all i need help with a batch file i wrote a batch file to download a file from an ftp site rename the file then move it over to a folder, for some reason...
8688
John O'Regan
sponge.belly
Dec 22, 2011 9:59 pm
Hi Aristos! Try the following. Run the program and make sure the output is correct before deleting ECHO on the second last line. The two commented lines are...
8687
Aristos Vasiliou
aristos_vasi...
Dec 21, 2011 3:29 pm
I am using the batch file below, to add 30 domain users to the administrators group of 30 machines. I would really like it though if I could make the batch...
8686
Glenn B. Lawler
incode1
Dec 16, 2011 10:27 pm
All the command line ZIP utilities I have used have a syntax to zip a list of files contained in a text file. If you do not have one, look for zip and unzip on...
8685
iwetallted
Dec 16, 2011 9:52 pm
I have a bunch of log files with the following naming scheme: BZRXXXBatch.01042008.log BZRXXXBatch.01042009.log BZRXXXBatch.02042009.log ...
8684
Alfredo
alfredo_chv
Dec 16, 2011 9:52 pm
That's a big shame, but thanks for your valuable help and for pointing us to some place we can keep getting help from. Cheers ... [Non-text portions of this...
8683
Bill Z
devilsadvacat
Dec 16, 2011 9:52 pm
foxidrive: Please ask the current moderator to add you as an additional moderator. One anonymous moderator for this group is bouncing and the other one has...
8682
Alfredo
alfredo_chv
Dec 16, 2011 9:52 pm
You know? You could get gnu's sort program and use the real thing instead. http://gnuwin32.sourceforge.net/packages/coreutils.htm Cheers ... [Non-text portions...
8681
Aristos Vasiliou
aristos_vasi...
Dec 14, 2011 1:23 pm
Hi all, I am currently using this in a batch file, to clear useless files from my %WINDIR% set unf=%SystemRoot%\$NtUninstall* for /f "Tokens=*" %%i in ('dir /B...
8680
ray_mccormick
Dec 13, 2011 6:42 pm
... Hi Foxidrive Thank you for the latest offering. The project is almost complete, using the last modified date, and final checking and implementation is...
8679
foxidrive
procyon50
Dec 11, 2011 4:38 pm
... This doesn't require the filenames to have a period or a filespec. It's significantly different now as searching the subdirectories when parsing a DIR list...
8678
foxidrive
procyon50
Dec 11, 2011 3:58 pm
On 12/12/2011 02:20, ray_mccormick wrote: I am watching to see any comments from my penultimate post in this group but will then move on to alt.msdos.batch.nt ...
8677
ray_mccormick
Dec 11, 2011 3:20 pm
... The date extracted is the last modified date. Is there a simple alternative to give the date created? Fortunately, in the present project both should be...
8676
foxidrive
procyon50
Dec 11, 2011 11:32 am
Hi Guys 'n Gals. I'm leaving this group because the moderator has left, and left it as a closed group. If anyone needs help for batch files then do feel free...
8675
ray_mccormick
Dec 7, 2011 6:12 pm
... Marvellous - after I ran it on the correct computer that had the \0904e92; folder! Now for the easy bit. Pass folder id and number of days (for target date),...
8674
foxidrive
procyon50
Dec 7, 2011 12:19 pm
... add here pushd "D:\0904e\" ... add here popd ... If type FOR /? then on the last page you will see the modifiers using the tilda ~ ... See above for the...
8673
ray_mccormick
Dec 7, 2011 12:02 pm
... Hi Foxidrive I had not even considered that dir /b would contain more information than was displayed. Your script works like a dream when the batch file is...
8672
foxidrive
procyon50
Dec 5, 2011 8:02 pm
... You can use the file date and time stamps in %%~ta with delayed expansion @echo off setlocal enabledelayedexpansion set cutoff=20111206 for /f "delims="...
8671
ray_mccormick
Dec 5, 2011 3:28 pm
Project: to manipulate files in a single folder depending on each file's creation date (compare with a cutoff date). I've approached this with dir with...