ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Bat file (https://www.excelbanter.com/excel-programming/300918-bat-file.html)

Todd huttenstine

Bat file
 
hey how would I write a .bat file to copy Q:\QTD\Current
Version\All In One\Quick Tools Full.xls to P:\QTD\Quick
Tools Full.xls?


Thank you

JWolf

Bat file
 
copy "Q:\QTD\Current Version\All In One\Quick Tools Full.xls"
"P:\QTD\Quick Tools Full.xls"

paste line into notepad and save as myname.bat

Todd Huttenstine wrote:
hey how would I write a .bat file to copy Q:\QTD\Current
Version\All In One\Quick Tools Full.xls to P:\QTD\Quick
Tools Full.xls?


Thank you


Todd huttenstine

Bat file
 
Its working but instead of going on my P directory, its
going on my desktop.

Why?

-----Original Message-----
copy "Q:\QTD\Current Version\All In One\Quick Tools

Full.xls"
"P:\QTD\Quick Tools Full.xls"

paste line into notepad and save as myname.bat

Todd Huttenstine wrote:
hey how would I write a .bat file to copy

Q:\QTD\Current
Version\All In One\Quick Tools Full.xls to P:\QTD\Quick
Tools Full.xls?


Thank you

.


JWolf

Bat file
 
That's a question for the Network Guy, a name I take abundant caution to
not have associated with mine.

Todd Huttenstine wrote:

Its working but instead of going on my P directory, its
going on my desktop.

Why?


-----Original Message-----
copy "Q:\QTD\Current Version\All In One\Quick Tools


Full.xls"

"P:\QTD\Quick Tools Full.xls"

paste line into notepad and save as myname.bat

Todd Huttenstine wrote:

hey how would I write a .bat file to copy


Q:\QTD\Current

Version\All In One\Quick Tools Full.xls to P:\QTD\Quick
Tools Full.xls?


Thank you


.


Todd huttenstine

Bat file
 
Hey I had to put the command on 1 line instead of
splitting it onto 2 lines.

Thank you
Todd Huttenstine


-----Original Message-----
That's a question for the Network Guy, a name I take

abundant caution to
not have associated with mine.

Todd Huttenstine wrote:

Its working but instead of going on my P directory, its
going on my desktop.

Why?


-----Original Message-----
copy "Q:\QTD\Current Version\All In One\Quick Tools


Full.xls"

"P:\QTD\Quick Tools Full.xls"

paste line into notepad and save as myname.bat

Todd Huttenstine wrote:

hey how would I write a .bat file to copy


Q:\QTD\Current

Version\All In One\Quick Tools Full.xls to

P:\QTD\Quick
Tools Full.xls?


Thank you

.

.



All times are GMT +1. The time now is 09:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com