Search found 218 matches

by pieh-ejdsch
09 Mar 2020 07:11
Forum: DOS Batch Forum
Topic: batch file to move all files from one folder to another
Replies: 3
Views: 668

Re: batch file to move all files from one folder to another

Hello Bob,
please search for MoveintTree

Phil
by pieh-ejdsch
10 Feb 2020 05:43
Forum: DOS Batch Forum
Topic: Subtract files from a folder
Replies: 1
Views: 2022

Re: Subtract files from a folder

What is diff?
Which specific (different) content have these files?
Test this
viewtopic.php?p=60645#p60645
or You can try doublettes finder?
by pieh-ejdsch
08 Feb 2020 15:43
Forum: DOS Batch Forum
Topic: [SOLVED] Script to older version of files when new ones are copied in?
Replies: 7
Views: 2602

Re: Script to older version of files when new ones are copied in?

There are already some useful scripts here. There is sure to be more.

File Versioning with Timestamp:viewtopic.php?t=7903#p52948

Make Backup cycle:
viewtopic.php?t=8956#p58728
by pieh-ejdsch
26 Jan 2020 00:26
Forum: DOS Batch Forum
Topic: best way to encrypt passwords in cmd files?
Replies: 7
Views: 1655

Re: best way to encrypt passwords in cmd files?

Maybe you shouldn't call the variable password.
More like count files or something.
Give the password file restricted / explicit user rights.
by pieh-ejdsch
25 Jan 2020 13:33
Forum: DOS Batch Forum
Topic: Check files GEQ 11000
Replies: 1
Views: 1028

Re: Check files GEQ 11000

Hallo Zero0,
Your script does not show how which variables are set, you can only assume that they are set. There is no If Else for either a directory, or in a loop, or recursively.
You can use a for /r loop for this.
Please use Code Tags.
by pieh-ejdsch
17 Jan 2020 17:49
Forum: DOS Batch Forum
Topic: Is there a way to update progress bar in Windows Vista to 10?
Replies: 5
Views: 1632

Re: Is there a way to update progress bar in Windows Vista to 10?

You can change the prompt so that the display can be used as output. https://www.dostips.com/forum/viewtopic.php?f=3&t=8051 @ECHO OFF if :%1 == :print shift &goto :print for /f %%a in ('copy /Z "%~dpf0" nul') do set "CR=%%a" :: This is a part of my batch SET "WGET_URL=https://eternallybored.org/misc...
by pieh-ejdsch
15 Jan 2020 13:53
Forum: DOS Batch Forum
Topic: Best way to obfuscate a Batch File?
Replies: 67
Views: 41974

Re: Best way to obfuscate a Batch File?

You should simply respect the work done here to achieve an expected result. [Yes, let's be careful.] I want to tell you something: I am usually in a hurry to explain to others how something works, AND then I don't notice how I am selling my work for a null value. It is my fault if it goes like this ...
by pieh-ejdsch
13 Jan 2020 11:42
Forum: DOS Batch Forum
Topic: cmd.exe chars needing quotes, and escaping redirection handles
Replies: 6
Views: 1054

Re: cmd.exe chars needing quotes, and escaping redirection handles

Oh. I also sometimes find some new files after testing at CMD or Batch. but mostly they are empty and should not be there. EG: b 1 .ABC ( %% ~nxf ! I have been using this with the addition of the tab key for a long time. When a new CMD instance is started, it almost doesn't matter what is entered in...
by pieh-ejdsch
14 Dec 2019 13:13
Forum: DOS Batch Forum
Topic: Encoding / Decoding
Replies: 8
Views: 3697

Re: Encoding / Decoding

This version works with loops - no gotos. This time the comparisons are brought forward in order not to have to stop the errors in the first place. Existing valid characters will only be added later if the others are not identified. If errors are displayed, the alphabet is not suitable for the text ...
by pieh-ejdsch
03 Dec 2019 14:24
Forum: DOS Batch Forum
Topic: Encoding / Decoding
Replies: 8
Views: 3697

Re: Encoding / Decoding

Hallo Hemlok, If you calculate the whole thing backwards, the matching result would also come out. When encrypting, only the values of the text are added together with the values of the password. Backwards, the password is subtracted from the text. Thus, the text becomes visible again. I made a litt...
by pieh-ejdsch
03 Nov 2019 15:38
Forum: DOS Batch Forum
Topic: HASHSUM.BAT v1.6 - emulate md5sum, shasum, and the like
Replies: 32
Views: 22145

Re: HASHSUM.BAT v1.6 - emulate md5sum, shasum, and the like

In the beginning of your script you only need to insert a single line to use the Variable Path correctly. therefore they do not have to introduce paths to any find.exe.

Code: Select all

call set  path=%%WINDIR%%\system32;%%path%%
by pieh-ejdsch
03 Nov 2019 11:20
Forum: DOS Batch Forum
Topic: [Solved] hELP
Replies: 5
Views: 6688

Re: hELP

Please can you adjust your problem in the contribution description? "Help" is not helpful ... I'm not sure if this script meets your requirements. If you want to compare such a large number of files of the same size, you will make much better progress with the file hash. According to their thread fr...
by pieh-ejdsch
22 Oct 2019 20:56
Forum: DOS Batch Forum
Topic: [Solved] hELP
Replies: 5
Views: 6688

Re: hELP

hallo, The variable, _filesize is too long all the same size filenames are entered in one for each size. This means there are very many (600) files of the same size that contain different content. The length of the name is about 6 characters. I would design the script to create a list per file size ...
by pieh-ejdsch
19 Oct 2019 00:56
Forum: DOS Batch Forum
Topic: How to do change "Terminate batch job (Y/N)?"
Replies: 7
Views: 7715

Re: How to do change "Terminate batch job (Y/N)?"

Hallo Userdosfx, I do not know what you exactly want. I hope you know exactly what you want. Describe at least what you plan and what should be different. Do you want to abort the script and suppress the message? Do you want to pause - then use the pause command or the pause key. https://administrat...