Computing.Net > Forums > Programming > open mulitple (doc) files in cmd

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

open mulitple (doc) files in cmd

Reply to Message Icon

Name: unsobill
Date: May 12, 2009 at 16:08:03 Pacific
OS: Windows XP, win2k3
Subcategory: Batch
Comment:

Hello

Anyone knows way around to trigger execution of multiple *.doc files in CMD?
Do i need a batch for that?

for instance i copied all .exe to .doc (or wise versa)
C:\copy *.exe *.doc

Now i needed to start all doc files with single cli command...

anyone?



Sponsored Link
Ads by Google

Response Number 1
Name: Judago
Date: May 13, 2009 at 05:27:05 Pacific
Reply:

Perhaps:

for %%a in (*.doc) do start "" "%%~fa"


0
Reply to Message Icon

Related Posts

See More


Need program to scan for ... about regedit



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: open mulitple (doc) files in cmd

Opening a htm file in explorer www.computing.net/answers/programming/opening-a-htm-file-in-explorer/5427.html

open , read a file in binary format www.computing.net/answers/programming/open-read-a-file-in-binary-format/6944.html

Opening a text file in a textbox www.computing.net/answers/programming/opening-a-text-file-in-a-textbox/285.html