Forcing save from the command line

C

Chris

Is it possible to save an open word document from the command line? The
reason I want to do this to back up my files, I want to save the document and
then transfer to a remote server.
Thanks

Chris
 
D

db ´¯`·.. >

the command environment and
the windows environment are
different by design.

to my knowledge, if you are operating
from a command window, you cannot
use a command to save an open
window of that document .

however, you can use the command
environment to copy a file from the
pc to the server. but these are files
that are unlocked/not in use by windows
and for all practical purposes they are
closed and saved on the disk.

which begs the question, why
not simply save a document via
windows into 2 different locations?

the response might be that the
save file dialog is awkward and
switching between to different
locations and using the file save
command is not proficient.

however, what you might want to
try is to add the "location of the
directory on the server" to the
save dialog window. You can add
the alternate location via the
"add to my places" feature
under the "tools" button.

to do this; at the time of saving a file
the save window will pop up.
then navigate to the secondary
location where you would
save the file alternatively.

then click on the "tools button"
at the top of the save window, click
"add to my places" and a button
will appear in the "left pane".
you may have to stretch the window
to see it. Then click save.

additionally can also create another
button in the left pane with the
default location as well. That way
it will be easy to navigate between
two locations in order to save the file
twice.

alternatively, there is a synctoy
avail at microsoft.com. it can
synchronize files between folders
utilizing one of several methods
to compare different files.

however, not unlike the command
window method you initially inquired
about, the synctoy manages the files
on the disk, which are saved, closed
and not in use by windows.

there are other advance methods
available as well. but the above
is provided as a brief overview of
some options, at times overlooked.

--

db ·´¯`·.¸. said:
<)))º>·´¯`·.¸. , . .·´¯`·.. ><)))º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><)))º>


..
 
G

Gary''s Student

From the Command line:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>cd desktop

C:\Documents and Settings\Owner\Desktop>udf.doc

did open the file on my desktop
 
B

Bob I

You don't need to open a file to copy it to a "backup" location. Simply
issue a copy command listing source file and destination.
 
Top