batch file

  1. Eawedat

    Windows 7 Batch File: works under cmd-Windows , NOT under MS-DOS

    I made these codes to backup files : set p=C:\Users\ for/f %%a in('dir C:\Users\ /b') do ( if not"%%a"=="Public", ( set fileDest=C:\Backup-%%a_%date:~7,2%.%date:~4,2%.%date:~10,4% If Not Exist"%fileDest%" mkdir "%fileDest%"set"fullPath=%p%%%a%" xcopy "%fullPath%"%fileDest%/e /h /y /k rem call...
  2. anwar ahamed

    Windows 7 i want to take backup my C & D drive with batch file ??????

    any one know how to create batch file steps to take my c,d,e drive backup in external hard drive
  3. vlad2005

    Windows 7 Trademark sign inside script

    Hi! I try to make an script for some video recording using ffmpeg. I have an Microsoft webcam model LifeCam HD-3000. This camera is show in control panel like this: Microsoft® LifeCam HD-3000. When i list devices with ffmpeg a got some strange character because of registered trademark sign. I...
  4. E

    Windows 7 Tasklist hanging when trying to access remote computer

    I have a batch file I periodically run to sync my calendar from my desktop PC to my laptop. I last ran it several weeks ago. Went to run it the other day and it hangs on the tasklist command. The following checks to see if the calendar program is running on the laptop, if it is it uses...
  5. N

    Windows 7 Importing reg file doesn't work from batch file, but works fine manually

    I just can't figure this out: When I import/merge a .reg file (v5 format) manually by right-clicking the file in Explorer, it works perfectly. But if I try to import the very same .reg file in a batch file, it doesn't do anything! The .reg file is only changing keys under HKEY_USERS. Here's a...
  6. J

    Running Multiple files at a time in batch.

    Hello. This is my first time posting here so I am sorry if I am not posting in the correct spot. I am trying to write a batch file. I have a folder with 333 Hotfix Msu Updates in it. Currently I have a command that will check the folder in a loop and update every computer with those hotfixes...
  7. I

    Windows 7 Windows 7 - Launch Bat after installation (SetupComplete?)

    Hello guys! I'm wondering about a script I made after the installation of my Windows 7 x64 ISO is done. The script (bat) contains this: How should I implant this script after the Win7 installation is done. Tried with SetupComplete (see spolier): Problem is, I cant use GPO either...
  8. G

    Windows 8 Reliability Monitor Not Working W8 Pro Desktop

    Hello, can you help please, my reliability monitor is not working, it runs as per the schedule but does not produce any data, my problems started recently following a small corruption with the library docs, this corruption caused the R/monitor to run continuously, I rectified this error with a...
  9. L

    Windows 7 how do you delete a .bat log file that is waiting for a reply ?

    I have a log file that is waiting for an answer to the overwrite command. I can't delete the log and I can't delete the file because it says it's in use(both files) Rebooting is pretty much not an option..... thanks, Linda ile: Link Removed Searching...          ...
  10. Dipanshu mahajan

    network drive get unmapped/disconnected when i log off my windows server2003

    whenever we login in windows server 2003 , network drive get disconnected .only if when we right click on shortcut of software installed in network drive it get again mapped. we have tried several tricks: net config server :autodisconnect =-1; net use \\conquesr-srv\v440 even than drive doesnot...
  11. P

    Windows 7 How to turn off WITH ONE CLICK audio sound?

    Assume I am playing a video or an mp3. Yes, I know how to turn off audio inside audio speaker controls. But I don't want to fiddle around with menus and dialogs. Instead I want to handle it as easy as possible with ONE (DOUBLE)CLICK. I can imagine that there is a utility whose shortcut...
  12. T

    Windows 7 Windows 7 Firewall GPO Help Please

    Windows Firewall settings were exported to a .wfw file. The settings take effect if I manually import them through gpedit.msc and click to import the file. What I really want to have happen is a batch file executes the following: netsh advfirewall import c:\firewall.wfw For some reason using...
  13. T

    Windows 7 How do I access the "SystemParametersInfo " function in a batch file?

    Hello, I would like to use the following function "SystemParametersInfo" in a batch file on a Windows 7 machine. Is it in a DLL somewhere?
  14. T

    Windows 7 Windows 7 equivalnet to "UpdatePerUserSystemParameters"

    Hello, I have a batch file that I am using to change the various items on my computer. I put the changes in the registry and then use the following command to implement the change %SystemRoot%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters This approach worked great in...
  15. B

    Windows 7 recover batch file or unavailability of "undo system restore" in W7

    I was writing scripts in batch file......But after some time, explorer started crashing repeatedly n frequently, so i had to do the system restore in safe mode.....After system restore, i lost my batch file,which is very important. So i wanted to undo the restore, but it is not available, i...
  16. B

    Windows 7 recover batch file or unavailability of "undo system restore" in W7

    I was writing scripts in batch file......But after some time, explorer started crashing repeatedly n frequently, so i had to do the system restore in safe mode.....After system restore, i lost my batch file,which is very important. So i wanted to undo the restore, but it is not available, i...
  17. D

    Windows 8 Enable Telnet?

    plz how to i use telnet? when i try it says 'telnet' is not recognized as an internal or external command, operable program or batch file. thx
  18. E

    Windows 7 Problem with Simple BAT file

    I have created a batch file to run three programs. However it doesn't run the first two just the last one. Whenever the batch file is running I see a window open and quickly close when each of the first two programs are requested to run. The window is only open for a second so I cannot see...
  19. G

    Windows 7 Batch File to Change Username on Windows 7 Pro

    How can I convert the batch below for Windows 7 Pro 64 bit. When I ran this batch in Windows XP; it worked! but not on Windows 7 Pro 64-bit. What this does? For example: I go to John Smith PC and you noticed that his username is smithj and domain: @@@@ was the last person that logon to that...
  20. M

    Windows 7 Input redirection does not work with DOS commands

    I was trying to get the 'CD' (change directory) DOS command to work with input redirection (left arrow), but could not do so, tho, thank goodness, I found PUSHD&POPD so I no longer need CD in my .BAT now. However, I could not get any of these commands to work either: TYPE, MORE, and especially...
Back
Top