Search found 246 matches

by pieh-ejdsch
21 Apr 2019 00:00
Forum: DOS Batch Forum
Topic: SET variable and MKDIR in one line? Automate a process
Replies: 7
Views: 9047

Re: SET variable and MKDIR in one line? Automate a process

Hallo TMC, I have to admit - I had to read the text five times to understand what you want. Now I'm behind it. You use a for /f loop to go through the table. Go to a sub. Work with the help of a second loop and do not need to define a variable extra. for /f "usebackQ tokens=1,* delims=," %%i in ("c:...
by pieh-ejdsch
18 Mar 2019 15:03
Forum: DOS Batch Forum
Topic: Get folder size to continue
Replies: 13
Views: 17477

Re: Get folder size to continue

nickodemos wrote:
16 Mar 2019 23:01

Code: Select all

Error creating '/cygdrive/d/SeasonPack/D:\SeasonPack\Worlds.Busiest.Cities.S01.DVDRip.x264-GHOULS.torrent': No such file or directory
This isn't a named fullpath!
check this line for double Quotes.
Phil
by pieh-ejdsch
14 Mar 2019 15:27
Forum: DOS Batch Forum
Topic: win98cmd
Replies: 7
Views: 11033

Re: win98cmd

as far as I know there is the cmd.exe only since the NT family. What I found was a CD with Windows 98 startup. The folder was for NT - but that was just some update CD. I think it was a service pack in which this file was to be found. My (virtual) Windows 98 has no cmd.exe but only a Command.exe. ht...
by pieh-ejdsch
14 Mar 2019 10:55
Forum: DOS Batch Forum
Topic: win98cmd
Replies: 7
Views: 11033

Re: win98cmd

Hello carlos,

You have a mail.

Phil
by pieh-ejdsch
13 Feb 2019 13:35
Forum: DOS Batch Forum
Topic: delete files in Folder with version-stamp
Replies: 4
Views: 5667

Re: delete files in Folder with version-stamp

Hello Chris1985, and why exactly do you want to change this creation time? Either you make a wrong file versioning, which always creates an even younger date of creation of a file, because this is newly created. Or they can properly version by backing up changed files leaving the original creation d...
by pieh-ejdsch
31 Jan 2019 07:53
Forum: DOS Batch Forum
Topic: Syntax error
Replies: 3
Views: 5381

Re: Syntax error

Hello Docfxit, Just call the right place in the script. Then the many comparisons are omitted. @echo off setlocal for /f "eol=Ctokens=2-6delims=cropfestivnawld®. " %%a in ('"WMIC os get caption"') do call :%%a%%b%%c%%d%%e if errorlevel 1 echo NOT used ... pause exit /b :WRT81- echo %0 exit /b 0 :W7P...
by pieh-ejdsch
28 Jan 2019 15:55
Forum: DOS Batch Forum
Topic: Made a auto-download using wget. I need some help in some things.....
Replies: 1
Views: 4496

Re: Made a auto-download using wget. I need some help in some things.....

Hallo DjDiabolik, if the ROMs all remain in the folder you can take the list to compare with existing files. if the file does not exist it will be downloaded. a counter counts the downloaded files up to one hundred. then it will be canceled. with wget the links can also be extracted wonderfully dire...
by pieh-ejdsch
27 Jan 2019 15:15
Forum: DOS Batch Forum
Topic: Check and identify Lin Files by contents
Replies: 4
Views: 5976

Re: Check and identify Lin Files by contents

Hello sajjansinghania, this may help You. @echo off setlocal set prompt=$g$s rem ich verschiebe Versionierte Backups in GOOD und gleiche in den Eimer rem hier: Kontrolle auf doppelte Backup Dateien :: -------------------------------------------------------------------------- rem Folder pushD "D:\CMD...
by pieh-ejdsch
25 Jan 2019 12:55
Forum: DOS Batch Forum
Topic: A Little project backing up folders
Replies: 2
Views: 4133

Re: A Little project backing up folders

Hello Stevo, I once had a similar requirement, with just a backup should be divided into several media. Maybe this can help you here. Please test it and let me know. If you need it I can provide an English version. https://administrator.de/forum/robocopy-quelle-mehrere-festplatten-190668.html#commen...
by pieh-ejdsch
25 Jan 2019 08:59
Forum: DOS Batch Forum
Topic: robocopy help please
Replies: 5
Views: 8195

Re: robocopy help please

hello miket11, I scrubbed something together. You can use it to transfer your files. Several backups can be created one behind the other. No existing data in the original folder will be overwritten - if at least in the first backup this file was not moved. If you want to move these files correctly, ...
by pieh-ejdsch
14 Jan 2019 17:08
Forum: DOS Batch Forum
Topic: robocopy help please
Replies: 5
Views: 8195

Re: robocopy help please

Hi,
I have to admit it sounds pretty undecided what you want exactly now.
I do not want to advertise, but maybe this can help you.
viewtopic.php?t=7903#p52948
by pieh-ejdsch
28 Dec 2018 06:55
Forum: DOS Batch Forum
Topic: compare by date/time
Replies: 2
Views: 4046

Re: compare by date/time

Hello sajjansinghania,

you can use robocopy /?

Phil
by pieh-ejdsch
04 Nov 2018 10:45
Forum: DOS Batch Forum
Topic: Code snippet inadvertently prevents console title renaming
Replies: 3
Views: 5516

Re: Code snippet inadvertently prevents console title renaming

Hello Quisquose, 2. Try writing the shortcut like this: cmd /k "prompt $g $S & pushD "C:\Users\username\Desktop\CMD test" & title "Rebuild Icon Cache" & color d1 & Program & prompt Testing-prompt $g" You either have to enter the path into the variable Path or use PushD to switch to the directory whe...
by pieh-ejdsch
03 Nov 2018 08:16
Forum: DOS Batch Forum
Topic: call expands variables / parameters differently with double percent signs
Replies: 1
Views: 3220

call expands variables / parameters differently with double percent signs

Hello Reader, The question was asked about the possibility to pass more than 10 parameters in one line. Do not be surprised %0 is also a parameter. When reading from all parameters, which are passed to the batch file, I am not quite satisfied with some solutions. For more than 10 parameters, you mus...
by pieh-ejdsch
13 Sep 2018 10:53
Forum: DOS Batch Forum
Topic: Show date in order I want it to
Replies: 4
Views: 6254

Re: Show date in order I want it to

in this Forum you can Search for
timestamp

Phil