That's exactly what I am here asking for help.
Search found 3 matches
- 23 Jun 2023 22:08
- Forum: DOS Batch Forum
- Topic: Is there a way to subtract 2 days from this batch file?
- Replies: 5
- Views: 19940
- 23 Jun 2023 11:55
- Forum: DOS Batch Forum
- Topic: Is there a way to subtract 2 days from this batch file?
- Replies: 5
- Views: 19940
Is there a way to subtract 2 days from this batch file?
@echo cd \ D: cd "D:\Misc\Downloads" For /f "tokens=1-4 delims=/ " %%d in ("%date%") DO REN "flyer.pdf" "Store weekly ad %%g%%e%%f.pdf" %windir%\explorer.exe /n,/e,"D:\Misc\Downloads\" :END Every Sunday morning, my local grocery store releases their weekly sales ad onto their website. I would load ...
- 28 Mar 2023 19:56
- Forum: DOS Batch Forum
- Topic: How to issue command but not have it execute
- Replies: 1
- Views: 2889
How to issue command but not have it execute
I need to open up the command shell within a very specific directory, let's say "C:\My Project". I did a little bit of searching on the internet and found a very simple batch file. cd /d %~dp0 Start cmd.exe This works fine but I need to have the letters "fc.exe" typed at the command prompt as soon a...