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
ADVERTISEMENT
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
Feb 2, 2007
Recently my father downloaded a Windows update thing that included the newest version of Windows Media Player, and since then I have had trouble getting my preferred media player to work with files. I can still open up it up and select a file, but it is impossible to add it to the "Open with" list, which is annoying. No error messages pop up or anything, but when I go to Browse in the "Open with" window and select the program, it just reverts to the (unchanged) "Open with" window.
View 1 Replies
View Related
Jun 20, 2010
I've created a batch file to do specific tasks.The file works perfectly and does exactly what I want, but I'd like to have it run at startup on Monday morning.This is what I've got, but it runs at every boot instead of just Monday.
View 11 Replies
View Related
Aug 11, 2005
I'm having an issue today with some of the critical updates indicating "Failed" Win XP pro currently has SP2.
Update are set to automatic. But, i'm fixing a troubled pc and am loading the updates directly from the Microsoft update website. It shows 15 updates to be installed, but when I start them, the all fail. Not sure why. FYI, I've been able to download other non-critical updates so it appears the process is working.
Specific Updates are KB896727, Looking for directions or clues. It appears the update have been downloaded, maybe they are corrupted. how to check and delete the update so I can reload.
View 3 Replies
View Related
Jun 30, 2005
I run a specific batch file at startup that attempts to copy a file to lace one that is under control of a running program. I get the messageThe process cannot access the file because it is being used by anotherprocess."How do I successfully write the file? I know that the way you are supposed to do it is to close the program, make the transfer then restart the program. But how do you do that when you don't know the programand you don't know how it starts in the first place.
View 4 Replies
View Related
Nov 27, 2005
Is there a way to open desktop folders at a specific time? Is there a way to make specific icons bigger, brighter, or in some other way make them stand out.
View 2 Replies
View Related
Feb 7, 2006
I am the administrator on this pc I have a user called GUEST I do not want the guest to be able to access a specific program I know they cannot get to my documents but if i log on as 'guest' i can open the accounting program and i dont want anyone as GUEST to be able to do that how can i do this? ive read some things about user groups but i dont have an option to add/change groups in the control panel under user accounts.
View 13 Replies
View Related
Aug 17, 2005
i'm looking for batch program in windows for exporting user and groups and it should be single batch program
View 1 Replies
View Related
Feb 3, 2006
I'm trying to set the output of a commandline program to a variable in a Windows batch file. For example, if I'd like to read the output of the "ver" command (which tells you what version of window) to a variable called "myvar", how would I do it? So "ver" outputs for me: "Microsoft Windows XP [Version 5.1.2600]" How would I read that into a variable called myvar?
View 9 Replies
View Related
Sep 3, 2005
I am using musicmatch jukebox. excellent program, however mim.exe added in vs 10 is rather annoying. slows shutdown dramatically. would like to write a batch program that kills mim.exe then runs shutdown.exe(-r, -u, etc). i am thinking that killing mim will allow xp to shutdown properly(at least the same day....a little humour...very little).
View 1 Replies
View Related
Feb 8, 2010
My company makes products that deploy on XP, like Kiosks. I need to be able to lock down my "application user" rights nice & tight, but leave my admin rights wide open. I find that GPEDIT effects ALL user rights, so when I want to prevent my app user from being able to right-click on the desktop (for example), if I got to GPEDIT > USER CONFIG > ADMIN TEMPLATES , anything I do there dorks up my admin user as well.These machines will not connect to a domain controller so they have to be locally administered.
View 2 Replies
View Related
May 25, 2010
I use XP Home and would like a simple batch file to automatically restart a program after 5 minutes, but I don't have any knowledge in this.
View 1 Replies
View Related
Oct 29, 2007
How can i load at boot-time xp's checkdisk (chkdsk)?What does the OS modifies so that disk check can start when I reboot. (the same when you right click on partition -> props -> tools -> check disk)?
View 3 Replies
View Related
Jun 5, 2008
Each reboot starts with scan of fat32 and checks for errors on file system c:/says Removing trailing entries from system volume - restore It then says entries have been checked and fixed ,says windows will now start up then does the acer screen, then windows xp screen loads then it cuts back to scandisk again. I could reformat with the original installation disk, but the owner of this computer wants heaps of files and photos and things off the harddrive first, so i want to see if i can fix without loosing her data.
View 8 Replies
View Related
Feb 15, 2005
I have a lot of pictures on my laptop. I still have plenty of space left on the hard drive. I save new pictures into a specific folder, then I go to retrieve them and I cannot find them. I can see them in "recent" documents but not in the folder that I put them in.
View 2 Replies
View Related
Sep 1, 2009
I have gone through the above thread. I have a specific requirement to count the files in a folder and set it's count value to a variable in the batch script. I will then use this value later in the program. e.g. for /f "delims=" %a in ('dir /a-D /B /s "C:codedepotinstallData File DistribProductName" |find /c /v ""') do Set tempVar=%a I am having trouble with the space in the path. I tried using escape with slash '' but didn't help. Can anyone correct my above command and get the count in the tempVar?
View 1 Replies
View Related
Jul 16, 2005
I had my hard drive transferred to a new pc. I cannot access the numerous (and important!) files under Documents and Settings/My Username on the new pc. Apparently, Windows has restricted access to those files since it does not recognize me on the new PC. The files all seem to be there (based on the info from the properties of the documents and settings folder), but I cannot see them. Both old and new pc use XP Home.How can I regain access to these files?
View 1 Replies
View Related
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
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
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
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
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
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
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
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
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
View Related
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
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
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
Mar 13, 2005
I seemed to have run into a problem. I'm running xp pro w/ sp2. I usually keep my computer on all the time but yesterday I turned it off. When I turned it back on this morning, I got a message "Windows could not start because the following file is missing or corrupt: windowssystem32configsystem". I followed some advise online which told me to use the recovery option using my win xp cd. When I rebooted it seemed to work ok but then came another message, "Autochk program not found- skipping Autocheck" then it reboots. It keeps doing this over and over again. I found some more advise online which told me to copy the program from my win xp cd to the harddrive using the recovery option.
View 7 Replies
View Related