Search found 24 matches

by newbie
11 Jan 2011 02:22
Forum: DOS Batch Forum
Topic: Regedit using batch file
Replies: 1
Views: 3090

Regedit using batch file

Hello, I want to create a batch file that can add or delete value, for example i want to change this:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer \Advanced\Folder\Hidden\SHOWALL\CheckedValue set the value to 2, need help?????tq :wink:
by newbie
09 Nov 2010 02:08
Forum: DOS Batch Forum
Topic: How to read folder that contains sub-folders
Replies: 1
Views: 3510

How to read folder that contains sub-folders

Hello, sorry for interrupting, I just want to ask how to write a batch file that can read and its sub-folders? Recently, I'm working on a batch file for this but it doesn't work, to help more understanding, this is my batch file: ------------------------------------------ @echo off cls set counter=0...
by newbie
06 Nov 2010 01:54
Forum: DOS Batch Forum
Topic: Comparing folder/sub-folder
Replies: 8
Views: 8152

Re: Comparing folder/sub-folder

nobody wanna help?
by newbie
05 Nov 2010 19:22
Forum: DOS Batch Forum
Topic: Comparing folder/sub-folder
Replies: 8
Views: 8152

Re: Comparing folder/sub-folder

Thanks once again for the useful help, at this moment I'm trying to compare folder from local disk and USB drive. But the thing is the folder is like 100 to 300 folders and even if I'm trying to compare, I have to go through it one by one, is there any possible way for me to go through it at once???...
by newbie
04 Nov 2010 00:07
Forum: DOS Batch Forum
Topic: Comparing folder/sub-folder
Replies: 8
Views: 8152

Re: Comparing folder/sub-folder

why it should be like that? can u give me a reason?? :roll:
by newbie
03 Nov 2010 22:02
Forum: DOS Batch Forum
Topic: Comparing folder/sub-folder
Replies: 8
Views: 8152

Re: Comparing folder/sub-folder

It's solved!! I just remove the "" in: for /f "delims=" %%i in ('dir /b/a-d %thumbdrive1%\%d1%\* %harddisk1%\%d2%\*^|sort') do ( call set "$i=%%$i:%%i=%%" if defined $i ( if not exist %harddisk1%\%d2%\%%i (echo :. +: %%i) else ( fc %thumbdrive1%\d1%\%%i %harddisk1%\%d2%...
by newbie
03 Nov 2010 18:13
Forum: DOS Batch Forum
Topic: Comparing folder/sub-folder
Replies: 8
Views: 8152

Re: Comparing folder/sub-folder

Nobody want to help????????
by newbie
03 Nov 2010 02:45
Forum: DOS Batch Forum
Topic: Comparing folder/sub-folder
Replies: 8
Views: 8152

Comparing folder/sub-folder

Hi, sorry to disturb again, actually I really need this problem need to be solved urgently. I just wrote a batch program that comparing files which look like this: set thumbdrive1="E:\Pendrive\PC Wizard Info\eGovt\eBIS-7 Notebook 185 Desktop\7 Notebook" set harddisk1="C:\Pendrive\PC W...
by newbie
28 Oct 2010 02:46
Forum: DOS Batch Forum
Topic: Problems with comparing files
Replies: 1
Views: 3344

Problems with comparing files

Hi, sorry to interrupt once again, recently I came up with a batch program that compares files in local disk and usb drive. It looks like this: @echo off cls setLocal EnableDelayedExpansion echo. echo ------------------------------------ echo Updating files.. echo -----------------------------------...
by newbie
17 Oct 2010 09:33
Forum: DOS Batch Forum
Topic: How to assign fix drive letter in batch file? (SOLVED)
Replies: 2
Views: 4606

Re: How to assign fix drive letter in batch file?

Thnx a lot, it did solve my prob. :D
by newbie
16 Oct 2010 00:47
Forum: DOS Batch Forum
Topic: How to assign fix drive letter in batch file? (SOLVED)
Replies: 2
Views: 4606

How to assign fix drive letter in batch file? (SOLVED)

Hello, I would like to know how to assign fix drive letter in batch file? For example, pendrive, it could be e:, f:, g:, etc.So i would like to assign with fix drive letter for the usb drive even its a different a pendrive it still read as the same drive letter, need help???tq
by newbie
13 Oct 2010 01:04
Forum: DOS Batch Forum
Topic: updating a folder
Replies: 7
Views: 7406

Re: updating a folder

What if instead of timestamp, I change it to new folder's name, in your example, USB folder is D:\Folder and local folder is c:\Folder,it copies files from USB folder to local folder and rename it to New Folder and compare if the New Folder is exist it will prompt "the files are already exist&q...
by newbie
10 Oct 2010 20:53
Forum: DOS Batch Forum
Topic: updating a folder
Replies: 7
Views: 7406

Re: updating a folder

It works, thnx a lot but what is timestamp for??
by newbie
08 Oct 2010 19:53
Forum: DOS Batch Forum
Topic: updating a folder
Replies: 7
Views: 7406

Re: updating a folder

Sorry for the bad english.. Where do the new files come from, always from the USB drives? Yes, the new files come from the USB drives. What have you to compare? Only if there are newer files on the USB pen? Or if there are newer files on the desktop folder too? Yes, only if there are newer files on ...