Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: looking for an answer to a Dos question

02 Jan 2019   #1
mipak

 
 
looking for an answer to a Dos question

I'm using W7 Professional 64bit and sometimes I have the need to use a Dos command.

I use Microsoft Publisher 2002 and, despite it's age, it works perfectly and gives me no problems. When using Publisher and want to save the work I've been doing, every time I press 'save', the files go to the default folder which is c:\users\name\my documents. Now I never use that route, preferring to use another location. I assume that the coding for Microsoft's choice of default is probably deeply embedded in W7 and is way beyond my knowledge of trying to interfere with it. Would be nice to change the default though.

Anyway, because of this and after some thought, my plan is to continue to use MS's default folder and also write a small Dos programme that would allow me to move whatever files were in 'my documents' to another more suitable location with a single click. The programme I've come up with is as follows:
@echo off
move c:\users\name\"my documents"\*.pub g:\00-preparation\02-writing

All the above 5 folders are already set in place.

The trouble is, it won't activate so it's obvious I've done something wrong somewhere along the line despite my attempts to make it work. Sadly, my knowledge of Dos is somewhat lacking

If there is anyone with Dos experience able to help please, I'd be very grateful.
My thanks in advance.


My System SpecsSystem Spec
.
02 Jan 2019   #2
strollin

W10 Pro desktop, W10 laptop, W10 Pro tablet (all 64-bit)
 
 

I don't have access to MS Publisher 2002 but I believe the default save location is configurable since other MS Office products I have used have had that ability. Try looking to see if there is an Options link somewhere (perhaps in the File menu). Look for Save under Options and you may find a setting for Default Save location.

Maybe someone else has access to Publisher and can tell you the exact location of the setting.

Good luck!
My System SpecsSystem Spec
02 Jan 2019   #3
samuria

win 8 32 bit
 
 

Use built in robocopy to copy or mirror


robocopy c:\docs d:\doc /mir



TechNet Wiki
My System SpecsSystem Spec
.

02 Jan 2019   #4
iko22

Windows 7 x64, Vista x64, 8.1 smartphone
 
 

The syntax of the command is incorrect. Put the double quotes round the pathname and file extension so that it looks like this:
move "c:\users\name\my documents\*.pub" g:\00-preparation\02-writing
My System SpecsSystem Spec
02 Jan 2019   #5
dg1261

Windows 7/8.1/10 multiboot
 
 

Quote   Quote: Originally Posted by mipak View Post
I use Microsoft Publisher 2002 and [...] every time I press 'save', the files go to the default folder which is c:\users\name\my documents. Now I never use that route, preferring to use another location. I assume that the coding for Microsoft's choice of default is probably deeply embedded in W7 and is way beyond my knowledge of trying to interfere with it. Would be nice to change the default though.
Easily done. In the 2002 version of Publisher, just change the default file location under Tools->Options:

looking for an answer to a Dos question-mspub2002-1.png

looking for an answer to a Dos question-mspub2002-2.png


My System SpecsSystem Spec
24 Jan 2019   #6
mipak

 
 
looking for an answer to a Dos question

sorry for the delay ....
had an unexpected stay in hospital ...

@ strollin ... good suggestion but as i started to search for 'options', i had a reply from dg1261 who gave me the complete answer starting in the TOOLS tab. All I had to do was to go into TOOLS > OPTIONS > then scroll down to FILE LOCATIONS. The answer had been staring me in the face for years! My thanks to both of you.

@ samuria ... I had never heard of the DOS command robocopy or of its switch /mir so deceided to investigate. Read a few pages in Google that implied that it might not be a safe thing to to do so I backed off on the side of caution. My thanks to you as well but I've made a note of the command and will get more info.

@ iko22 ... your suggestion interested me very much and I noticed my mistake immediately so I made the correction in the batch file, saved it and hit enter. Nothing happened. After running a lot of tests, I still got no responses despite even using SAVE for a files in the same folder then I thought that it might be to do with my W7 which in turn, had 2 different 'bit' ratings. So I Googled the question, 'Is DOS compatiable with W7 Professional 64-bit?' which generated quite a lot of pages. The first one said that whilst the 32-bit is compatiable, 64-bit is not. On reading over the other pages, I found that it was still possible but appeared to be a little complicated so I stopped ... for now anyway.

Returning to @ dg1261's suggestion, I changed the default setting to my own choice of folder but it didn't work. I'll have to investigate and let you know.

My thanks to all of you ... I'll continue investigating particularly regarding the last two suggestions.

Michael ...
My System SpecsSystem Spec
24 Jan 2019   #7
samuria

win 8 32 bit
 
 

Robocopy is 109% safe it's made by ms and has been around for years designed for servers
My System SpecsSystem Spec
24 Jan 2019   #8
iko22

Windows 7 x64, Vista x64, 8.1 smartphone
 
 

Hello. Hope you are well,
Quote   Quote: Originally Posted by mipak View Post
I'm using W7 Professional 64bit and sometimes I have the need to use a Dos command.

...

Anyway, ..., my plan is to continue to use MS's default folder and also write a small Dos programme that would allow me to move whatever files were in 'my documents' to another more suitable location with a single click. The programme I've come up with is as follows:
echo off
move c:\users\name\"my documents"\*.pub g:\00-preparation\02-writing

All the above 5 folders are already set in place.

The trouble is, it won't activate so it's obvious I've done something wrong somewhere along the line despite my attempts to make it work. Sadly, my knowledge of Dos is somewhat lacking

If there is anyone with Dos experience able to help please, I'd be very grateful.
My thanks in advance.
Quote   Quote: Originally Posted by mipak View Post

@ iko22 ... your suggestion interested me very much and I noticed my mistake immediately so I made the correction in the batch file, saved it and hit enter. Nothing happened. After running a lot of tests, I still got no responses despite even using SAVE for a files in the same folder then I thought that it might be to do with my W7 which in turn, had 2 different 'bit' ratings. So I Googled the question, 'Is DOS compatiable with W7 Professional 64-bit?' which generated quite a lot of pages. The first one said that whilst the 32-bit is compatiable, 64-bit is not. On reading over the other pages, I found that it was still possible but appeared to be a little complicated so I stopped ... for now anyway.
1) If you delete or comment out the "echo off" then you might see some error messages that can help you diagnose what is wrong with the commands that the batch file is issuing.
When you say "nothing happened" I am thinking that this is because your inclusion of "echo off" is suppressing any message that the command may issue.

2) Although people know what you mean by "DOS program", the term "DOS" or "Disk Operating System" is no longer the correct term under Windows. The correct term is now "Command Prompt", "Elevated Command Prompt", or "CMD" for short.
The Command Prompt is a type of Command-line Interface that is backward compatible with DOS, but additionally includes new features with each new Edition of Windows.
The "bitness" of the Operating System/Processor(s) does not matter here, as all 32-bit instructions are included in the 64-bit versions of the Software/Hardware. So, you should be able to Move files using a 64-bit OS, that had been created under a 32-bit OS.

I hope that helps.
My System SpecsSystem Spec
Reply

 looking for an answer to a Dos question




Thread Tools




Similar help and support threads
Thread Forum
Please help me find answer for question 2
Hi, I'm desperately trying find the information for my school discussion, I don't want anyone to do homework for me, but I'm seriously do not know how to answer this questions. Access is not my best friend.I found answer for nb 1.which I believe is -(determine the purpose of database, find and...
Microsoft Office
An answer to a question in another Thread.
I didn't want to hijack this thread: https://www.sevenforums.com/virtualization/277690-vmware-player-windows-8-demo.html#post2285854 So I'm posting here. Yes. More from Anandtech: AnandTech - Search Results for H67+intel
Hardware & Devices
Simple Question PLEASE ANSWER
Would Black Ops run on: Intel(R) G33/G31 Express Chipset Family? I am asking because I am about to buy black ops (I know i am really late because modern warfare 3 is going to come out) but I might also but MW3 please reply -:mad:IPSucks:mad:
Gaming
I got a good question, to which no one seems to know the answer too!!
I was hoping someone could help me, I am trying to do something so simple, but it's infuriating how complicated it appears to be. I simply want to Change Windows 7 Icon Login/ Welcome Screen and Change it to the traditional Login:_________________________ Password:_________________________...
Customization
Hey i need somone to answer my question
Ok am ready to update my computer to window 7!, i got Window Vista Home Premium, and i want to buy window 7 home premium, so am not sure if i buy the window 7 home premium update or the full window 7, the update is cheaper 120$
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:18.
Twitter Facebook