Re: Create .DOC files from .DOT files automatically



That worked when I tested it (including opening the renamed document).
Thanks! Do batch files still work from a command prompt or in Explorer in
Windows XP? If so, is there a way to prompt the user to make a directory in
a certain folder structure and than change directories to the newly created
directory before copying the files over?

"Pegasus (MVP)" <I.can@xxxxxxxxxx> wrote in message
news:edt2U7AoIHA.4620@xxxxxxxxxxxxxxxxxxxxxxx

"Linda Aldrich" <linda.aldrich@xxxxxxxxxxxxxxxxxxx> wrote in message
news:uaRHwyAoIHA.3652@xxxxxxxxxxxxxxxxxxxxxxx
We are looking for a way to automatically create .doc files from .dot
files and place them in a new directory in one step. Can anyone help?

Thanks!

Linda Aldrich

Assuming that .doc files have the same format as .dot files
(which the experts in a Word newsgroup would be able to
comment on), all you need to do is to run these commands
from a Command Prompt:
copy "d:\Templates\*.dot" "d:\My Documents"
ren "d:\My Documents\*.dot" *.doc



.



Relevant Pages

  • RE: run a batch file
    ... "Prevents users from running the interactive command prompt, ... Do not prevent the computer from running batch files if the ... "Limits the Windows programs that users have permission to run on the ... add to the List of Allowed Applications. ...
    (microsoft.public.win2000.general)
  • RE: run a batch file
    ... "Prevents users from running the interactive command prompt, ... Do not prevent the computer from running batch files if the ... "Limits the Windows programs that users have permission to run on the ... add to the List of Allowed Applications. ...
    (microsoft.public.win2000.group_policy)
  • Reboot to Command Prompt?
    ... and I even have a small series of batch files. ... winlogon, but it could very well be kernel.dll) clean it, and restart ... into a command prompt seems to be the easier way. ... set windows to reboot directly to a command prompt. ...
    (microsoft.public.scripting.wsh)
  • Re: Cant Delete File
    ... If this is an AVI file it is because Explorer goes looking into the ... A way to handle it is to r-click in the Task bar and take Task Manager.. ... Also have All Programs - Accessories - Command Prompt open, ... Alex Nichol MS MVP (Windows Technologies) ...
    (microsoft.public.windowsxp.general)
  • Re: moving, deleting & Rename Files
    ... Another approach is to stop Windows Explorer, ... Open a Command Prompt and CD to ... Task Manager windows on a blank desktop. ...
    (microsoft.public.windows.file_system)