Search found 7 matches

by nerd
14 Jul 2010 10:26
Forum: DOS Batch Forum
Topic: Detecting same file size and deleting
Replies: 6
Views: 8169

Re: Detecting same file size and deleting

Thanks aGerman :D
by nerd
11 Jul 2010 20:19
Forum: DOS Batch Forum
Topic: Detecting same file size and deleting
Replies: 6
Views: 8169

Re: Detecting same file size and deleting

Hi, aGerman: I am grabbing some files online for a project, and somehow, I get lots of duplicated files. This duplicated files have the same file size, so I am trying to delete the duplicated files while maintaining original file. I am creating a folder each time I am trying to grab the files. For e...
by nerd
10 Jul 2010 10:24
Forum: DOS Batch Forum
Topic: Detecting same file size and deleting
Replies: 6
Views: 8169

Detecting same file size and deleting

I am trying to write a script to detect go through sub-folders in the main folder to detect the same file size using "dir /os" followed by a deletion of the duplicate files in the sub-folder. Just wondering how to I combine this together using the IF command to delete if the file size is s...
by nerd
05 Jul 2010 18:33
Forum: DOS Batch Forum
Topic: Variable and installation
Replies: 5
Views: 5781

Re: Variable and installation

Thanks aGerman, your a god send :)
by nerd
02 Jul 2010 03:14
Forum: DOS Batch Forum
Topic: Variable and installation
Replies: 5
Views: 5781

Re: Variable and installation

I am trying to set different variables in a file (abc.txt)

set file1=c:\file2.exe
set file2=c:\file1.exe

How do I call for different variables (%file1%, %file2%) from abc.txt?
by nerd
01 Jul 2010 18:41
Forum: DOS Batch Forum
Topic: Variable and installation
Replies: 5
Views: 5781

Re: Variable and installation

Thanks for your help :)
by nerd
01 Jul 2010 03:48
Forum: DOS Batch Forum
Topic: Variable and installation
Replies: 5
Views: 5781

Variable and installation

Hi, I am wanting to install a program into few hundreds computer. My batch command at the moment includes copying the file from my local drive over the network computers and auto installation with psexec. Each installation takes around 2 minutes. I am having an idea to just copy and paste all the IP...