Automate Batch Files When Loading

Aug 12, 2005

I have a batch file (used to autoexec.bat in earlier Wins) that cleans temporary folders and gets rid of a couple of files that Paradox creates.I've tried the run command in Win.ini - any other ideas ?

View 3 Replies


ADVERTISEMENT

Need Some Batch Files Information

Apr 19, 2007

I am trying to setup a small program so that I can login to client computers across the internet, using winvnc.I am trying to write a batch file that will start the program and then issue a command to the program to tell it what to connect to.My problem is that the program comes up and then the batch file just stops, it does not goto the next line until the program is closed.What do I need to enter to force it to read the next line without having to close the program? simple little batch file will read as follows.

View 1 Replies View Related

Delete All The Batch Files

Aug 8, 2009

I want to delete all the files in some of my directories before I do backups of my office PCs.To do this I'd like to use a batch file. I've tried one with these commands but it fails.I hope to add other directories once I get this working (ie. Recent).

View 14 Replies View Related

Write Batch Files In Pro

Mar 8, 2010

I am trying to write a batch file that would make a specific program a default over Windows Picture and Fax viewer.Reading on other forums, I've input the following into Notepad:ftype jpegfile="C:Program FilesNeroNero 7Nero PhotoSnapPhotoSnap.exe" "%1" When I right-click on any .jpg file after that, under properties, I see that Nero PhotoSnap is now the default program, but when I open the file it opens in Windows Picture and Fax viewer still.What am I doing wrong? Do I need to add registry changes to complete this process?

View 5 Replies View Related

Command To Run A Batch Files I Want To Run On A Remote Com

Jul 23, 2005

If I'm on computer Jack but I want to inititate a batch file I want to run on computer Jill, how do I get the batch file? I'm not talking about a remote desktop or anything, I want to use a command line to make a batch file run on a remote computer.

View 3 Replies View Related

Batch Files Not Running The Command

Jul 14, 2005

I have Windows XP SP2 and all the updates. I have recently been fooling around with Batch files. I have been having problems with them not running the command. What happens is I will have a correct command set up in the batch file but when i run it a cmd window opens and the command it is supposed to run continously repeats the command over and over. The command function never actually initiats anything.nothing ever runs from the batch file command. It will just keep repeating for ever and ever untill i close it. Now here is the thing. If i rename the batch file or move it from where i was editing it to another folder it will run just fine. But see the issue is. I dont want have to rename it or move it. I want it to just run like it is supposed to.

View 2 Replies View Related

Ms-dos Batch Files Disappears When Try To Open

Aug 16, 2005

whenever i try to open a batch file an ms-dos window opens up and then it disappears in less than a second. No program will run. I've tried to run lqfix.bat and smitRem's runthis.bat. I need to know how to make this stop happening because i need to run smitrem to rid myself of a virus.

View 14 Replies View Related

Copying Files Using A Batch File

Jan 28, 2005

Im trying to copy a file from one folder to another but the batch file is not working, it says incorrect syntax. the command line im using is: COPY C:TEST *.* C:BACKDIR Does anyone know why this isnt working?

View 2 Replies View Related

Batch Files Environment Variables

Jan 10, 2008

I've been trying to get something working with batch files and been running into a problem with env variables. First off, I have a batch file which is launched by cruisecontrol and this batch file would set a couple environment variables. then it will call a second batch file which would setup some more environment variables and exit.

View 2 Replies View Related

Copying Files In A Batch File

Jan 3, 2008

I'm trying to write a batch file that will copy files from a folder on the desktop to various files on the C drive. From what I understand it should be like this: copy c:documents and settings\%userprofile%desktopinstallfilename.txt c:windowsfilename.txt
with %userprofile% in place of the actual user profile name because it will be different each time I run this batch file.This, however, is not working.

View 6 Replies View Related

Copy Files Via Batch File

Jan 1, 2009

I'm running Win XP Pro SP 3, I have a file that I periodically copy to several different computers on a LAN. The exact destinations of the file change occasionally and I want to minimize the amount of maintenance involved when there is a change.
In the folder containing the file I have a shortcut to each of the destination drives. When one of the destination folders changes I update the shortcut in that folder.
If I drag the file to each of the shortcuts using the right mouse button one of the options is to copy the file to the target of the shortcut, so one way to copy the file is to manually drag it to each shortcut. Is it possible to achieve similar functionality with a batch file? It is easy enough to write a batch file that copies the files to each destination by coding the destinations into the batch file but is it possible to use a batch file to copy the file to the target of each shortcut? I suspect that parsing the .lnk files is complex but I don't know if there is another way to do this.

View 6 Replies View Related

Can't Get The To Work Runas In Batch Files

Jan 20, 2009

i cant seem to get runas to work in a batch file runas /env /user:domainadminuser cmd
exit it works when manually entered into a command window, just not in a batch script. all that happpens is the command is echoed in a continuous loop.

View 12 Replies View Related

Batch Files To Create Registry Entries

Jul 22, 2005

I need to create a batch file to resolve a backup issue I'm having. I need a batch file to run before and after backup to correct the issue between Veritas and Backup Exec.http://seer.support.veritas.com/docs/275013.htm

View 2 Replies View Related

Batch File - Modify Attributes To Files

Sep 2, 2005

Is it possible to make a batch file to modify the attributes to files within a folder without typing out every single file in the batch file? (Needed for recovery console use).

View 14 Replies View Related

Batch Files How To Check Time / Run Specific Program?

Feb 21, 2009

I was wondering if you gurus can give me some direction.I run a Specials Menu on a large LCD TV at a restaurant using powerpoint. There are two specials files (lunch.pps and dinner.pps)When this system reboots, i want a batch file to determine which powerpoint file to open based on what time it is.ON BOOTUP: For instance, if it's anywhere between 11am and 3pm, open the lunch file. If its any other time, run the dinner.pps file. Make sense?

Im already running a scheduled tasks application that shuts down one and starts up the other based on what time. This works very well. Problem is, i frequently Remote Desktop into this machine and make changes. Once those changes are made, i have to reboot the system. I then want this batch file to start the appropriate presentation since the scheduled task application only works when it sees 11am or 3pm (as in the example above)I figured since you can determine time and date within a batch file, can't you do an if /then/else type script within a batch? (if its *this time* then load THIS application)

View 3 Replies View Related

Read Write Text Files - Batch File

Jul 19, 2005

i would like to know if there's a good place to learn about makingbatch file because i don't know about the syntax. I only program in c,delphi and Java.What i would like to know is if it's possible to do a "while", "if"(Conditions) and "read/write" text files so i can do a several testlike ping few computer in my buisness and be sure that they are wellconnected by creating a file that after it read the name of the computer it will ping and it pings it, write a file with the name of this computer with a "ok" next to it if it worked and "Not connected"
if it can't ping it!

View 6 Replies View Related

Batch Files Accept Only Truncated Folder And File

Jun 17, 2005

I have a batch file which copies key folders and files between hard disks - It would seem that although it will accept only truncated folder and file names (e.g. progra~1) for the source, sub folder and file names are written to the target drive full length. Am I right in thinking that source names have to be written in the truncated form (after all it is, basically a DOS command)? if not how can this be done?

View 2 Replies View Related

Moving Files To Specific Folders - Software Or Batch?

Nov 13, 2008

I'm searching for a good solution of archiving scanned documents. The problem: Recently we bought a new copy-machine from toshiba. It includes the feature of scanning a bunch of documents on its own harddisk. To keep up a structure (Law-firm) we give the files structured names: {casenumber}{client}{typeofdoc}{dateofdoc}.pdf

So, by now we created a structured list of files in the scan-folder of the machine. The next step is to move the files into subfolders on a different pc. These subfolders have 6 digits, simply the case numbers. It should be very easy for a program to move these files paying attention to the case number and sorting them into the right case folders..................

View 14 Replies View Related

Automate Disk Cleanup

Feb 13, 2003

Cleanmgr.exe is designed to clear unnecessary files from your computer's hard disk. You can use command-line options to specify that Cleanmgr.exe cleans up certain files. You can then schedule the task to run at a specific time by using the Scheduled Tasks tool.To start the Disk Cleanup tool, either run the Cleanmgr.exe command, or click Start, point to Programs, point to Accessories, point to System Tools, and then click Disk Cleanup. Disk Cleanup supports the following command-line options: /d driveletter: - This option specifies the drive that you want Disk Cleanup to clean. /sageset: n - This option displays the Disk Cleanup Settings dialog box and also creates a registry key to store the settings that you select. The n value, which is stored in the registry, allows you to specify tasks for Disk Cleanup to run. The n value can be any integer value from 0 to 65535. To have all of the options available when you use the /sageset option, you might need to specify the drive where Windows is installed. /sagerun: n - This option runs the specified tasks that are assigned to the n value if you use the sageset option.For example, in Scheduled Tasks, you could run the following command after you run the cleanmgr /sageset:11 command: cleanmgr /sagerun:11This command runs Disk Cleanup and includes the options that you specified with the cleanmgr /sageset:11 command.

View 9 Replies View Related

Batch Files / Change The Date Last Modified Through Command Line

Aug 17, 2008

I am wondering if there is a way to change the date last modified through command line. The reason for this is because I want to update the date last modifed as part of a backup solution.

View 3 Replies View Related

How To Automate Outlook Email Account Setup

Jun 24, 2005

Is there a way to automate email account setup (Outlook) for Windows XP from workstations? We have users that need access to email at different locations. Currently the first time they logon to a machine we just go there and setup an email account, but it would be really helpful if the account would set itself up tied to the user's logon ID.

View 1 Replies View Related

Rename A Group Of Files Or Folders (Batch Rename)

Jun 22, 2003

To rename a group of files or folders in WinXP, open the explorer folder that contains the files and do the following:
(be careful not to include any critical windows system files or folders when applying this technique.  back up with system restore first if you're not sure.  also, it only makes sense to apply it to files of the same type.)
1. Highlight the files and/or folders to be renamed (remember to hold down the CTRL key to select non-adjacent files); or hold  CTRL-A to select all the files and folders in a given folder
2.  Let the mouse hover over the file that you wish to be the first in the series

View 9 Replies View Related

Automate Series Of Keystrokes - Single Command To Initiate Entire Series

Aug 23, 2005

for ex - when i open my wireless modem it requires the following series of
keystrokes 1. ctr+alt+I 2. enter 3. password 4. enter 5. enter 6. enter.is it possible to set up a single command to initiate the entire series of keystrokes?

View 2 Replies View Related

Won't Install - Stuck When Loading Files

Sep 21, 2010

I made a computer from my brother, with parts from other computers. But windows won't install. When I put the CD in the drive, I will start the computer using the CD. It check my Hardware configuration and asks me to install a non-windows SCSI/RAID driver, I will not install this driver and I'm continueing as normal. This is when it goes wrong: when loading 'Windows Executive' (The first file it loads) the computer gets stuck.

View 3 Replies View Related

Loading Winupd.dll - Restoring Files

Dec 7, 2004

Every 10 seconds I am getting pop-ups stating ?error loading winupd.dll? and sometimes: ?error loading wincore.dll? and it is extremely annoying using this computer. Before this stated, my spyware software deleted some questionable files. I am unable to undelete these files any longer. I believed that these .dll files were related to windows update and closedown any auto update programs but hasn?t stopped it.I have been searching through all my files for any files containing ?winupd.dll? or ?wincore.dll? but having came up with anything that might be executing these files. I also searched my other computer for these files in hopes of restoring the files to this computer but no luck.

View 5 Replies View Related

Loading NvCpl.dll - Cannot Access Files

Jun 18, 2007

I just reformatted for the second time and upon startup i keep getting this error
"Error loading nvCpl.dll
The process cannot access the filebecause it is being used by another process." Here is the kicker- I didn't get this error untill i installed aol 9.0 - can that have something to do with it??? I went 3 days since reformatting error free.I ran a hijackthis and i can't seem to find the error anywhere.can the new hard drive iv'e installed have anything at do do with this?

View 14 Replies View Related

Reboot After Loading The List Files

Jan 20, 2008

My XP Home SP2 computer starts and runs just fine. No normal booting problems at all but I tried to boot it into safe mode a few days ago to have a look at something. It won't do it. No matter if I try safe mode or command prompt safe mode, it won't finish the boot. It simply goes to reboot after loading the list of files. It's not a big deal now but one of these days I'm sure I'll need safe mode for something.

View 14 Replies View Related

Loading Media Files Takes Too Much Time

Jun 12, 2005

About a week and a half or so ago loading media files takes forever. Whenever I click on a MP3 or AVI file it takes about 30 secs before it loads. In the meantime I get a Windows Explorer has stopped responding dialog and I can either shut it down or wait for it to load.

I've run Spybot, Adaware, and installed ZoneAlarm. I keep getting a message that my computer is trying to access another comp on my network.

I've also tried restoring to an older restore point with no luck.

View 3 Replies View Related

Delete Hidden Files From Loading Up On Boot

Jul 31, 2005

I used a program to delete hidden files from loading up on boot. Two were casino files that I had already deleted. I unchecked the boxes to prevent them from loading up. I then became creative and kept going. Apparently I uncchecked a file to load up win xp pro. Now I get the blank screen that says "invalid boot diskette, insert boot diskette in A:" I do but it is not reading the A: drive. I then tried to get into setup to change the boot sequence to cdrom first but the blank screen asks me to enter a password. I never needed a password to get into setup before. When I type my system passwore and hit enter all that appears is an X, after three times it kicks me back to the insert boot diskette page.

View 7 Replies View Related

Loading Goes Into Loop After Loads Set Up Files Installed?

Dec 9, 2009

I am trying to load windows xp to a dell system, after the setup files are installed, the system restarts and ges back to the begining and reloads the setup files. What could be the problem?

View 6 Replies View Related

Slow Loading And Browsing: Remove Java Files?

Aug 18, 2009

I have a Gateway desktop, running XP Home with Pentium 4 CPU, 2.4 GHz, 256 MB ram, with 74.5 GB HD at 88% free, using FireFox 3.0.13 and Mcafee Security Suite from Comcast. I have followed other thread advice and removed old Java files, Adaware and Spybot S& D, and installed Superantispyware and Malwarebytes Anti-Malware, CCleaner and HiJackthis. I have tried everything I know but working on this computer is like watching paint dry.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved