Computing.Net and Purch hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy. You'll need to install PsExec on the machines you want to run it on. Here: http://technet.microsoft.com/en-us/sysinternals/bb897553.aspxYou should consider checking the Scripts area of Spiceworks: http://community.spiceworks.com/scripts 0 Serrano How can I solve that? From a link in this forum (How to Restore Default File Extension Type Associations in Windows 8 and 8.1)was able to reset the registry back I think. have a peek here
I'm a noob when it comes to batch scripts, so I'd appreciate any help I could get. Whats the difference between an evil twin and a rogue access point? Hot Network Questions Only if in "/" : alias ls='ls -I test'? I even tried putting the FULL path to the file and i get the same outcome. see this
Style Default Style Contact Us Help Home Top RSS Terms and Rules Copyright © TechGuy, Inc. This is a question that will help you which has already been asked. I thought the /I switch would cause it to create new versions (Backup (1), Backup (2), etc), but that seems not to work.
What do i add to the batch file to stop the programs or force... Hard to believe but I just did it now on Windows 8.1. Why is the expected value named so? Report • #3 JohnFL June 12, 2013 at 11:51:52 I am sorry, but i meant to add, that i made a LNK file of the batch file, and am clicking on
Please start a New Thread if you're having a similar issue.View our Welcome Guide to learn how to use this site. General Discussion Our Sites Site Links About Us Find Us Vista Forums Eight Forums Ten Forums Network Status Contact Us Legal Privacy and cookies Windows 7 Forums is an independent web Off-Topic Tags How-tos Drivers Ask a Question Computing.NetForumsProgrammingBatch/Scripting Solved I have a question about a batch file command Tags:findBatch file mikald79 November 7, 2012 at 21:36:07 Specs: Windows 7 echo offcopy Can you create a System Restore point from a batch file or in General Support Since Windows 8 is not creating System Restore points, apparently because I have a dual boot
Search Sign Up Log In Home Forum How To Download News Encyclopedia High-Tech Health Sign Up Language English Español Deutsch Français Italiano Português Nederlands Polski हिंदी Bahasa Indonesia Log In Subscribe Need Batch File Help in General Support First off, sorry if this is not posted in the right forum. It worked great. General Discussion Batch File that grabs file names from folder to insert into batch fileOk I'm totally at a loss on how to word this so I'm just going to write
give the name "Program.bat" when u open this file u just follow what the batch file is saying... "Press any key" "what is your user name?" (type this) Tspider4 "what is http://stackoverflow.com/questions/907730/ignore-question-mark-in-bat-batch-scripts mcseguy9, Aug 2, 2007 #1 mcseguy9 Thread Starter Joined: Jun 11, 2001 Messages: 387 Here's what I ended up doing. How do Glass Ants create their tunnels? In the meantime I hope the above is food for thought.
set /p user= echo what is your password? navigate here How should I handle this situation? Psexec.exe [email protected] Gpupdate.exe /Target:User Psexec.exe [email protected] Gpupdate.exe /Target:Computer Pause When I run it tho, it seems to be an error as it just list the proper usage for Psexec. System Manufacturer/Model Number 2xHP, 2xGateway, 1xDell, 1xSony OS Vista and Win7 Hard Drives 5 SSDs and 12 HDs Quote Page 2 of 2 First 12 Jump to page: Batch File Question
Oops, something's wrong below. If you're not already familiar with forums, watch our Welcome Guide to get started. How does Obamacare save lives? Check This Out How should I handle this situation?
Usually in Windows that location has a space in it, so you use a similar procedure to that given.The other way is to truncate the long file names to 8 characters Staff Online Now valis Moderator Advertisement Tech Support Guy Home Forums > Operating Systems > Windows XP > Home Forums Forums Quick Links Search Forums Recent Posts Members Members Quick Links Thread Status: Not open for further replies.
Has a POTUS ever been called for jury duty? Is there some way to run a script as a domain admin, even if you are a regular user? set /p note= If '%note%'=='yes' start notepad.exe echo byebye pause>nule exit ...................................................................................................... The above file does work, but it seems to simply overwrite the folder on the H drive, and I want it to keep the weekly backups until I manually delete them.
Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Is weight a scalar or a vector? See More: I have a question about a batch file command Report • #1 Mechanix2Go November 8, 2012 at 00:35:46 ✔ Best AnswerThis:find /v "randomlineoftext1" < MYFILE.ini > #puts the output this contact form Contact Us Windows 7 Support Privacy and cookies Legal Top Windows 7 Forums - Windows Vista Forums - Windows 10 Forums The Windows 8 Forums is an independent web site
And @JimmyT you don't need PsExec on the remote machines, you only need it on the machine that will run the command. View this "Best Answer" in the replies below Off-Topic Tags How-tos Drivers Ask a Question Computing.NetForumsProgrammingBatch/Scripting Solved batch file for shutting down windows 7 Tags:Dell / DIMENSION 2400windows 7shutdowncommand promptPowerShell JohnFL June 12, 2013 at 08:53:34 Specs: Windows 7