Computer Hope
Microsoft => Microsoft DOS => Topic started by: lufkincy on September 05, 2009, 04:45:00 PM
-
Some years ago I had to switch to Windows from DOS. While I was pretty competent in DOS, I've never gained a lot of competence in Windows.
In DOS I made extensive use of batchfiles. Is there a way to use batchfiles in XP? If so, where can I find the syntax and how to activate it from within XP.
Thanks...
Cy Stapleton
Lufkin, TX
-
Yes, and many do. There are st rill some things that are just SO easy to do in a batch file that there is little point in trying to change over to a Windows script.
Look here:
http://www.computerhope.com/batch.htm
-
The command prompt screen and area of XP will run all of you old dos programs.
Post the code of your best Dos program here and I will see how well it runs on my XP Pro machine.
-
NT Command Line commands are listed here (http://ss64.com/nt/).. Click on any command to view the syntax.
-
Thanks. I will check that out now.
cy
-
lufkincy,
Where is an example of your Dos code ( your batch file )? Please post.
-
Hi Bill: Thanks for the reply. Unfortunately I do not have any of my old DOS files left. For a while I kept both DOS and Windows on my system, but when I finally stopped using DOS and when I bought a new system, I copied all of my Windows data off the old system, F-disked it and gave it to a local Christian school.
I have shortcut links on my desktop to the applications I use often, but what I want the batchfiles for is to cut down on my keystrokes. As an example, If I am scanning a large number of photos to go on my website, I can click on the shortcut on my desktop to go to my website, but I want a batchfile that will open my scanner, scan the photo, let me name the photo, then save the photo in a designated folder in FrontPage. Then loop and do the same thing for the next photo. I would like a shortcut to that batchfile on my desktop.
When I am scanning I will often scan 50 to 100 photos and other items at a time.
I use XP
Thanks again...
cy
-
I don't think you can scan photos with batch.
-
I don't think you can scan photos with batch.
Thanks for the response. I have no idea whether or not this is possible. It has been many years since I wrote batchfiles and I have forgotten most of what I had learned, but I recall having written files that paused, let me enter something, then continue. I had a free utility batchfile creator that would create some really complicated batchfiles.
Actually, this is just one of the many things on my wishlist. When I found this forum I decided to see if anyone could help me on this wishlist item.
Thanks again
cy
-
Well, using SET /P, it will pause untill you enter something and press enter.
-
gave it to a local Christian school.
giving people stuff is always bad unless it is a very good friend
but anyway
of cource you can run batch files in xp
-
giving people stuff is always bad unless it is a very good friend
*censored*? God forbid we ever do anything to help the less fortunate or our communities. No, it's far more productive to hoard our goods and do nothing selfless for anybody- rather just coop ourselves up in an attic with our CGA video cards churning out TDWTF quality code in Turbo C that is essentially useless in the context of the modern day.
Now then, back to the topic...
I don't think you can scan photos with batch.
why not?
do a tad a research :P
Windows XP and Vista include a program called WIAACMGR, which might be usable via the commandline. I cannot test it since I don't have a scanner, though.
-
*censored*? God forbid we ever do anything to help the less fortunate or our communities. No, it's far more productive to hoard our goods and do nothing selfless for anybody- rather just coop ourselves up in an attic with our CGA video cards churning out TDWTF quality code in Turbo C that is essentially useless in the context of the modern day.
Now then, back to the topic...
why not?
do a tad a research :P
Windows XP and Vista include a program called WIAACMGR, which might be usable via the commandline. I cannot test it since I don't have a scanner, though.
your sure in a bad mood
-
your sure in a bad mood
and your selfish, which is ironic given your recent post asking for a word that is essentially a synonym for it.
-
and your selfish, which is ironic given your recent post asking for a word that is essentially a synonym for it.
hey bc_prog can you decode this:
30 31 31 31 30 31 31 31 30 31 31 30 31 30 30 30 30 31 31 30 30 31 30 31 30 31 31 30 31 31 31 30 30 30 31 30 30 30 30 30 30 31 31 31 30 31 31 31 30 31 31 30 31 30 30 31 30 31 31 30 31 31 30 30 30 31 31 30 31 31 30 30 30 30 31 30 30 30 30 30 30 31 31 31 31 30 30 31 30 31 31 30 31 31 31 31 30 31 31 31 30 31 30 31 30 30 31 30 30 30 30 30 30 31 31 30 31 31 30 30 30 31 31 30 30 31 30 31 30 31 31 30 30 30 30 31 30 31 31 31 30 30 31 30 30 31 31 30 31 31 31 30 30 30 31 30 30 30 30 30 30 31 31 30 31 31 31 30 30 31 31 30 30 31 30 31 30 31 31 31 30 31 31 30 30 31 31 30 30 31 30 31 30 31 31 31 30 30 31 30 30 30 31 30 30 30 30 30 30 31 31 30 30 31 31 31 30 31 31 30 31 30 30 31 30 31 31 31 30 31 31 30 30 31 31 30 30 31 30 31 30 30 31 30 30 30 30 30 30 31 31 31 31 30 30 31 30 31 31 30 31 31 31 31 30 31 31 31 30 31 30 31 30 31 31 31 30 30 31 30 30 30 31 30 30 30 30 30 30 31 31 31 30 30 31 31 30 31 31 31 30 31 30 30 30 31 31 31 30 31 30 31 30 31 31 30 30 31 31 30 30 31 31 30 30 31 31 30 30 30 31 30 30 30 30 30 30 31 31 30 30 30 30 31 30 31 31 31 30 31 31 31 30 31 31 30 30 30 30 31 30 31 31 31 31 30 30 31 30 30 30 30 31 31 30 31 30 30 30 30 31 30 31 30 30 31 31 30 30 31 30 31 30 31 31 31 30 30 31 31 30 31 31 31 30 30 30 30 30 31 31 30 30 31 30 31 30 31 31 30 30 30 31 31 30 31 31 30 31 30 30 31 30 31 31 30 30 30 30 31 30 31 31 30 31 31 30 30 30 31 31 30 31 31 30 30 30 31 31 31 31 30 30 31 30 30 31 30 30 30 30 30 30 31 31 31 30 31 30 30 30 31 31 30 31 31 31 31 30 30 31 30 30 30 30 30 30 31 31 31 30 31 30 30 30 31 31 30 31 30 30 30 30 31 31 30 30 31 30 31 30 30 31 30 30 30 30 30 30 31 31 30 30 30 31 31 30 31 31 30 31 30 30 30 30 31 31 31 30 31 30 31 30 31 31 31 30 30 31 30 30 31 31 30 30 30 31 31 30 31 31 30 31 30 30 30
-
when will you learn never give your stuff away
especially to the church
text - binary - hex
http://home2.paulschou.net/tools/xlate/
-
text - binary - hex
http://home2.paulschou.net/tools/xlate/
I always use that site for converting binary, hex, decimal etc.
-
yea, it came in handy when my friend needed me to "decode" binary he got in a message
anyways.
i wonder where lufkincy is
-
hey bc_prog can you decode this:
Hey kitty, can you give a one line command that will decode what you just sent to BC ?
Well, maybe three or four lines.