Search found 1567 matches
- 06 Sep 2019 06:57
- Forum: DOS Batch Forum
- Topic: Multi-line menu with options selection via DOSKEY
- Replies: 15
- Views: 41219
Re: Multi-line menu with options selection via DOSKEY
Szecska the replace method was a way of get an input where choice was not present in the windows. I not remember from which version of windows it was included, maybe windows 8 ? The CHOICE command was introduced in MS-DOS 6 and is still available in MS-DOS 7 (Windows 95/98). In Windows NT 4, 2000 a...
- 10 Jul 2019 04:58
- Forum: DOS Batch Forum
- Topic: icacls issue
- Replies: 1
- Views: 8045
Re: icacls issue
This works. Call oFSO.MoveFolder( "D:\Program Files", "D:\prgmSys" ) sArgs = """D:\prgmSys"" ""D:\Program Files"" /E /V /I /H /R /K /X /Y /B" Call abstractProcess.exec_( "xcopy.EXE", sArgs, "", True, 0 ) Call oFSO.MoveFolder( "D:\" &oDirProfiles.Path, "D:\profSys" ) sArgs = """D:\profSys"" ""D:\" &o...
- 09 Jul 2019 14:25
- Forum: DOS Batch Forum
- Topic: icacls issue
- Replies: 1
- Views: 8045
icacls issue
Hi, I cloned a windows 7 ntfs system partition and mounted it as non-system drive D but am unable to copy "D:\Users\Administrator\AppData\Local\Application Data\*" using icacls I try to remove the DENY everybody ACL to gain access but it is still failing with "icacls.EXE" %sFullPathFile% /T /remove ...
- 23 Feb 2019 09:54
- Forum: DOS Batch Forum
- Topic: newbie min cmd window?
- Replies: 19
- Views: 33725
Re: newbie min cmd window?
Ah yes, aGeman's is better, and can be even shorter because you do not even need args. @echo off &if "%~1" neq "MIN" start /MIN cmd /c "%~f0" MIN &exit /b start "" "E:\LaunchBox\Games\Big Fish Games\Launchers\Blackie.exe" start "my game" /WAIT "E:\12noon Display Changer\dc64.exe" -width=1280 -height...
- 23 Feb 2019 09:31
- Forum: DOS Batch Forum
- Topic: Bathc - find and replace several strings (Quick as possible!)
- Replies: 4
- Views: 9831
Re: SOLUTION!
I figured out I that I wasn't defining :MakeReplace location and files at the end of the script... I suspected something like that :) On a side note, I would REALLY love an explanation or solution on how to run this more efficiently? Even the most efficient batch algorithm will be slow, vbs is noto...
- 23 Feb 2019 09:10
- Forum: DOS Batch Forum
- Topic: newbie min cmd window?
- Replies: 19
- Views: 33725
Re: newbie min cmd window?
thank you for your help. this works so im happy but I want to learn. how would I make it into a single batch file? @echo off for /F "tokens=3 delims=:" %%? in ( "%~0" ) do if %%? EQU getParams ( start "" "E:\LaunchBox\Games\Big Fish Games\Launchers\Blackie.exe" start "my game" /WAIT "E:\12noon Disp...
- 23 Feb 2019 07:27
- Forum: DOS Batch Forum
- Topic: newbie min cmd window?
- Replies: 19
- Views: 33725
Re: newbie min cmd window?
No they don't, actually I've been thinking a bit about your question because I was wondering if you preferred only a single batch.
- 22 Feb 2019 21:30
- Forum: DOS Batch Forum
- Topic: newbie min cmd window?
- Replies: 19
- Views: 33725
Re: newbie min cmd window?
Eh no, more like in 2 separate files startMinimized.CMD start "" /MIN "startGame.CMD" startGame.CMD @echo off start "" "E:\LaunchBox\Games\Big Fish Games\Launchers\Blackie.exe" start "my game" /WAIT "E:\12noon Display Changer\dc64.exe" -width=1280 -height=720 /c "E:\LaunchBox\Games\Big Fish Games\My...
- 22 Feb 2019 20:48
- Forum: DOS Batch Forum
- Topic: Bathc - find and replace several strings (Quick as possible!)
- Replies: 4
- Views: 9831
Re: Bathc - find and replace several strings (Quick as possible!)
I do not see what is wrong with that vbs, but If you do the main part in vbs, you might just as well do it all in vbs, I wonder why people wrap vbs scripts in a batch when both languages can do the job without each others help. Convention is that languages are physically separated from each other un...
- 22 Feb 2019 19:38
- Forum: DOS Batch Forum
- Topic: newbie min cmd window?
- Replies: 19
- Views: 33725
Re: newbie min cmd window?
your right it doesn't. but im still trying different things. my mistake :) startMinimized.CMD start "" /MIN "startGame.CMD" startGame.CMD will start minimized in there you put the actual code. omg! the 2nd script worked. I see what I was doing wrong. thank you I tested the first script on my pc, bu...
- 22 Feb 2019 17:14
- Forum: DOS Batch Forum
- Topic: newbie min cmd window?
- Replies: 19
- Views: 33725
Re: newbie min cmd window?
This may work, in the worst case the script will respond after 9 pings, script requires system to have a network driver installed or it will clog the CPU. @echo off start "my game" "E:\12noon Display Changer\dc64.exe" -width=1280 -height=720 /c "E:\LaunchBox\Games\Big Fish Games\Mystery Case Files -...
- 22 Feb 2019 12:08
- Forum: DOS Batch Forum
- Topic: Windows 10 Startup Loop CMD Regback backup
- Replies: 7
- Views: 11900
Re: Windows 10 Startup Loop CMD Regback backup
Ah sorry, I did not read you already had the backups, hope you can repair it like that. I wouldn't know howto because I switched to using software many larger companies use years ago because it was more versatile and reliable at the time and probably still.
- 22 Feb 2019 11:46
- Forum: DOS Batch Forum
- Topic: Windows 10 Startup Loop CMD Regback backup
- Replies: 7
- Views: 11900
Re: Windows 10 Startup Loop CMD Regback backup
Of course you have an array of backups of all your important data at your disposal, if not then your data is either not important or you have been very naïve. This happens to everybody, learn from it. I use a pirated version of acronis true image enterprise server. That can backup and restore any fi...
- 21 Feb 2019 18:22
- Forum: DOS Batch Forum
- Topic: Batch file to backup the documents folder on a continuing basis deleting old files while replacing with udated ones
- Replies: 3
- Views: 7294
Re: Batch file to backup the documents folder on a continuing basis deleting old files while replacing with udated ones
The defaults are saved to a file 'defaults.cfg'. You could edit the file using notepad.
Or just copy the command line switches to a batch and run from there so the config file is not used.
Or just copy the command line switches to a batch and run from there so the config file is not used.
- 21 Feb 2019 14:58
- Forum: DOS Batch Forum
- Topic: running any external command safely !
- Replies: 10
- Views: 14089
Re: running any external command safely !
But perhaps your problem has something to do with the intermittent XP bug when a FOR /F IN() clause contains an unquoted/unescaped token delimiter . I think we can exclude that one. parent cmd /K regular for 'unescaped' works yes yes no yes no no no yes yes no no yes Although the problem arised in ...