Hello
and I'm not finding a way to delete duplicate files in the same folder. I have files that are with the following filename.
file.txt
file(2).txt
it is standard to have (2) in these duplicate files.
How do I delete using batch?
Search found 13 matches
- 29 Nov 2017 11:39
- Forum: DOS Batch Forum
- Topic: Delete files duplicated
- Replies: 1
- Views: 2594
- 11 Feb 2015 18:26
- Forum: DOS Batch Forum
- Topic: [code] Batch Clock Widget
- Replies: 51
- Views: 101215
Re: [code] Batch Clock Widget
Thank you...copy and paste last in Notepad++ now in NOTEPAD and perfect funcionally.
*** My english is soft, i am braziliam sorry any error write ***
*** My english is soft, i am braziliam sorry any error write ***
- 11 Feb 2015 07:36
- Forum: DOS Batch Forum
- Topic: [code] Batch Clock Widget
- Replies: 51
- Views: 101215
Re: [code] Batch Clock Widget
Dont function.
Viewer image.
I copy and past in notepad, save in clock.cmd and execute.
Solution ?
Viewer image.
I copy and past in notepad, save in clock.cmd and execute.
Solution ?
- 22 Dec 2014 08:48
- Forum: DOS Batch Forum
- Topic: Shutdown Batch
- Replies: 16
- Views: 13964
Re: Shutdown Batch
Thanks...
I have created...
I have created...
Code: Select all
@echo off
set /a ShutdownTime=%1*60
IF "%1%"=="off" (
Shutdown -a
) ELSE (
shutdown -s -t %ShutdownTime%
)
- 11 Dec 2014 06:10
- Forum: DOS Batch Forum
- Topic: Shutdown Batch
- Replies: 16
- Views: 13964
Re: Shutdown Batch
Thank you very much.
Now I want to increase the code.
For the parameter I want to cancel the shutdown command.
Ex. "Off.bat off" instead of using a number write "off" and
he run the "Shutdown -a"
Now I want to increase the code.
For the parameter I want to cancel the shutdown command.
Ex. "Off.bat off" instead of using a number write "off" and
he run the "Shutdown -a"
- 10 Dec 2014 19:08
- Forum: DOS Batch Forum
- Topic: Shutdown Batch
- Replies: 16
- Views: 13964
Re: Shutdown Batch
Code: Select all
@echo off
set /a time=%1*60
shutdown -s -t time
saved the file as "off.bat"
I go to the prompt and typed: off 10
However this is not happening at all.
Runs the help menu shutdown command.
where is the error?
- 10 Dec 2014 11:41
- Forum: DOS Batch Forum
- Topic: Shutdown Batch
- Replies: 16
- Views: 13964
Re: Shutdown Batch
Example please.
- 10 Dec 2014 10:21
- Forum: DOS Batch Forum
- Topic: Shutdown Batch
- Replies: 16
- Views: 13964
Shutdown Batch
I am in doubt. I want to develop a batch when I enter the time in minutes and the same multiply by 60 and set the shutdown command. Ex .: off.bat 10 Within the batch he take the value 10 multiply by 60 and add the command Shutdown -s -t * value * As is known, the shutdown command only accepts value ...
- 01 Oct 2014 07:20
- Forum: DOS Batch Forum
- Topic: Block file or folder from deletion
- Replies: 6
- Views: 5899
- 01 Oct 2014 06:25
- Forum: DOS Batch Forum
- Topic: Block file or folder from deletion
- Replies: 6
- Views: 5899
Re: Block file or folder from deletion
It is possible by command line, change file permissions?
For this is the way I wanted to do.
For this is the way I wanted to do.
- 30 Sep 2014 21:49
- Forum: DOS Batch Forum
- Topic: Block file or folder from deletion
- Replies: 6
- Views: 5899
Block file or folder from deletion
I am researching but I am not able to find a solution to lock file or folder on the command line against exclusion.
Suggestions?
Suggestions?
- 25 Sep 2014 08:16
- Forum: DOS Batch Forum
- Topic: Dos command for wol (wake on lan) and sol (sleep on lan)
- Replies: 4
- Views: 7023
Re: Dos command for wol (wake on lan) and sol (sleep on lan)
I have used, in command line.
http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx
In sintax command line.
wolcmd MacAddress Ip Mask 7
7 is magic pack for ON computer.
For shutdown the remote computer have use, RoboTask in listenner command shutdown.
http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx
In sintax command line.
wolcmd MacAddress Ip Mask 7
7 is magic pack for ON computer.
For shutdown the remote computer have use, RoboTask in listenner command shutdown.
- 17 Apr 2014 21:58
- Forum: DOS Batch Forum
- Topic: My First Script
- Replies: 0
- Views: 7112
My First Script
The proposital is : Wait total load windows for total load of process and services. Is code : @echo off @taskkill /f /im explorer.exe > nul @timeout 60 /nobreak > nul @start explorer color 1c echo. echo. echo System Ready to Use !!! echo. echo. @timeout 2 > nul Save is code sugestive name : loadwait...