Search found 7 matches
- 31 Oct 2014 13:06
- Forum: DOS Batch Forum
- Topic: Batch is starting too fast after reboot
- Replies: 11
- Views: 9946
Re: Batch is starting to fast after reboot
Instead of running the batch file from the RunOnce key, add a self delete command to the bottom of it and place a shortcut to your batch file in the startup folder, "%AppData%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" . This will not work for me because the batch is in diffre...
- 31 Oct 2014 10:06
- Forum: DOS Batch Forum
- Topic: Batch is starting too fast after reboot
- Replies: 11
- Views: 9946
Re: Batch is starting to fast after reboot
ShadowThief wrote:Don't automatically start batch2.bat?
If that was a solution i have noe created this post.
- 31 Oct 2014 10:04
- Forum: DOS Batch Forum
- Topic: Batch is starting too fast after reboot
- Replies: 11
- Views: 9946
Re: Batch is starting to fast after reboot
Yury wrote:Code: Select all
@echo off
set timeout=60
>nul timeout /nobreak /t %timeout%
::::::::::::::::::::::::::::::::::
But the windows wil not boot until the bach is closed.
- 31 Oct 2014 00:49
- Forum: DOS Batch Forum
- Topic: Batch is starting too fast after reboot
- Replies: 11
- Views: 9946
Batch is starting too fast after reboot
So i have batch1 as this REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V 2 /D "%~d0\bat\batch2.bat /f and then i reboot computer (windows8) and batch2 starts. It seems like the batch is starting before windows. Because ther is only a black background and the cmdwindow, When i ...
- 25 Oct 2014 09:26
- Forum: DOS Batch Forum
- Topic: Delete files if exist in a diffrent one
- Replies: 5
- Views: 4916
Re: Delete files if exist in a diffrent one
remove the word ECHO if you are satisfied with the results it outputs to the screen. @echo off for %%G in ("f:\lnkremove\*") do IF EXIST "%userprofile%\Desktop\%%~nxG" ECHO del "%userprofile%\Desktop\%%~nxG" I have tested this now. but cant get it to work. for %%G in (...
- 22 Oct 2014 13:59
- Forum: DOS Batch Forum
- Topic: Delete files if exist in a diffrent one
- Replies: 5
- Views: 4916
Re: Delete files if exist in a diffrent one
Tankyou so much for this fast answer. Have waited stackoverflow for this
Tanks again!
Tanks again!
- 22 Oct 2014 13:17
- Forum: DOS Batch Forum
- Topic: Delete files if exist in a diffrent one
- Replies: 5
- Views: 4916
Delete files if exist in a diffrent one
So i want a batch that delete files if they exist in another folder.
delete file/s from "desktop" if the files exist in "f:/lnkremove"
Big thanks if somone can help!
delete file/s from "desktop" if the files exist in "f:/lnkremove"
Big thanks if somone can help!