Flux rss
Search : in
By : Relevance Date Username
Statut : Not resolved

Batch file help

kaya_1, on Monday June 16, 2008 01:13:54 PM
Hello,



I have a .txt file which has computers names which are on the network. I have to create a folder in each of these computers and copy an.exe and shortcut file in that folder.
Configuration: Windows XP
Internet Explorer 6.0
Reply to kaya_1  Report this message to moderators Go to last message

1


  • 1
    This message seems useful, vote!
  • Ce message ne vous semble pas utile, votez !
  • Report this message to moderators
 ComputerRob1, on Monday June 16, 2008 03:46:51 PM
Hello


I'm sure there is a better way to do this (probably just use the local policies from the server (which I'm assuming you'd be running this from)) but If you want a batch then this is one way you could do it. First of all you'd need access to the folder that you are planning on storing these files in. You'd need the users to each have a shared folder (preferably in a space that is not in their way) and call to their computer by name by using the pushd command. If you have the .exe and the shortcut saved in a folder on a server you will need to use the computer names to copy them to the shared folder. You can make a looping command if you have a lot of computers that you are doing this for but if it is only a few it's simpler to not worry about it and just write all the computer names down. If you'd like I can show you how to loop.
You will have to use the pushd and popd commands to be able to connect and disconnect to the network.
cd (directory with .exe and shortcut)
pushd \\laptop3\"shared directory"
xcopy (directory with .exe and shortcut)
popd
pushd \\laptop4\"shared directory"
Reply to ComputerRob1

Results for

Telnet script or batch file (Solved) Hello, I want to build a script or a batch file that I can set to run on a daily basis that will telnet to a device and then send commands to it. Basically it would need to telnet and then run a command and exit out of the device. I was thinking I... en.kioskea.net/forum/affich-4262-telnet-script-or-batch-file
Help with Loop in batch File using input from (Solved) Hi Together I try to scan some PCs remotely and do want to automize this task. I created a batch file doing a good job, however, it scans only one pc and then I do need to change the target system name. I now want to create a comma seperated list,... en.kioskea.net/forum/affich-15768-help-with-loop-in-batch-file-using-input-from
DOS commands in a batch file Hello, I'm after a batch file that will press a button. I have used " rundll32.exe shell32.dll, Control_RunDLL inetcpl.cpl" to successfully display/access Internet Options. Now how to select the General tab ? [ set the focus to General Tab ?] and... en.kioskea.net/forum/affich-4105-dos-commands-in-a-batch-file

Results for

Create and Open a RAR fileCreate and Open a RAR file How to create a RAR file How to open a RAR file RAR is an archive file format that is used during data compression, error recovery and file spanning. RAR is the acronym for Roshal Archive, inspired by the... en.kioskea.net/faq/sujet-143-create-and-open-a-rar-file
How to read and create a BIN and CUE file?How to read and create a BIN and CUE file? What is a BIN file? How to create BIN and CUE files How to burn BIN and CUE files How to read/convert BIN and CUE files What is a BIN file? A BIN and CUE file together create a binary... en.kioskea.net/faq/sujet-264-how-to-read-and-create-a-bin-and-cue-file
Creating an Autorun.inf fileCreating an Autorun file Allowing autorun Creating an Autorun.inf file Variations Customizing the icon Customizing the icon text Customizing the icon menu Allowing autorun Windows provide users with simple utility that runs... en.kioskea.net/faq/sujet-641-creating-an-autorun-inf-file

Results for

Batch file for one current date in text fileHello, I need a batch file to get the current date and time of my computer and put it in a text file every time I run it.But I need the most current date&time to replace the previous within the same text file, so that my file can have only one record,... en.kioskea.net/forum/affich-16514-batch-file-for-one-current-date-in-text-file
Sending email through batch file.Hello, hi i wnt to create batch file that will automtcally send my email through outlok express at 5 pm daily with the attachement. if anybody has any idea about this plz write to me help would be appreciated. regards Rajesh en.kioskea.net/forum/affich-24097-sending-email-through-batch-file

Results for

Download Instant File Name SearchAlthough mode searches already exist on Windows, sometimes more definite tools for specific tasks are needed. Instant Name Search Goes off search files by name on your computer or on a network instantly. It supports the Boolean operators (AND,or,... en.kioskea.net/telecharger/telecharger-630-instant-file-name-search

Results for

Operating systems - Files A file is a suite of binary information, i.e. a suite from 0 to 1. This file may be stored in order to keep a record of this information. A text file is a file comprising characters stored in the form of octets. This file is saved on the hard drive... en.kioskea.net/systemes/fichier.php3