Skip to main content

All Questions

Tagged with
4 votes
3 answers
4k views

Why robocopy still copy an open file, opened by txt editor in windows

From wikipedia, it is told that robocopy will skip copying files in open status. However, when it is under test for robocopy behaviour, the robocopy still copy the opened file by the most simple text ...
1 vote
1 answer
525 views

Batch file to configure notepad settings

I have plain text (.txt) reports, in order to be printed correctly (final users will print the report). I need to configure notepad settings. as: margins: let: 8 right: 8 top: 4 bottom: 4 font: ...
0 votes
0 answers
58 views

Batch application won't execute

I am trying to make a Windows Troubleshooter within batch, because why not? When I come to main menu script, the application won't execute any further, and closes. I have tried to use the CALL ...
9 votes
2 answers
18k views

Notepad switches

What command line switches exist for Notepad? I found a few: /A <filename> opens file as ANSI /W <filename> opens file as Unicode /P <filename> prints filename Are there others?
0 votes
2 answers
20k views

Removing Line Breaks From CSV for Proper Excel Import

So I've created a batch script that outputs some text to a CSV. When I open the CSV in Notepad, it looks like this, which is how I want it. 173030,8,2793,2821244 173032,1,2793,2820692 173033,1,2793,...
0 votes
3 answers
3k views

Batch file that run on a special day

How do I create a batch file that once clicked on, starts an .exe file if it is a Sunday? I do not want it to run the .exe file if it is on another day. If for example it is Friday I just want it to ...