Help with command prompt

grcf450

Member
Feb 1, 2010
39
0
0
Hi,

i was wondering if u guys could help me out. I created a text file in Word and I changed the file extension to .ppt and my homework assignment is to open that .ppt file using Microsoft Word, but I have to do it in the command prompt and I have no idea how to do that. Can anyone help me out or give me some hints?

Thanks!
 

Fardringle

Diamond Member
Oct 23, 2000
9,200
765
126
You want us to do your homework for you? Shame! ;)

Replace "Office" in the first path with the actual folder name containing your version of MS Office (could be office, Office10, Office11, etc), and replace the second path and file name with the actual location of your file. The quotation marks are required due to the spaces in the first path line unless you use the 8 character "short" DOS names for the folders and files.

Code:
"C:\Program Files\Microsoft Office\[i]Office[/i]\winword.exe" "C:\Documents\myfile.ppt"
 

grcf450

Member
Feb 1, 2010
39
0
0
Thank you!! It worked, but the text I had didnt appear in word. I spent almost an hour last night, at one point i didnt think it would be possible to open a .ppt in word using the command prompt. thanks!!!
 

Gunbuster

Diamond Member
Oct 9, 1999
6,852
23
81
Why is your homework trying to have you open a txt file as a power point extension in word? D: