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
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...
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???...
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%...
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...
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 -----------------------------------...
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
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...
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 ...