1.

Solve : Copy file from different folder!?

Answer» <html><body><br/>Hello folks i would like to copy a file from a distant folder like C:\Documents and Settings\Administrator, file being any <a href="https://interviewquestions.tuteehub.com/tag/exe-447113" style="font-weight:bold;" target="_blank" title="Click to know more about EXE">EXE</a> to Desktop.<br/>I would like to run this bat file from desktop itself.<br/><br/>can some make a Bat file for this purpose. <em>I have already made it,but it require me to put this bat in the Administrator folder and assigned d: for the file to be saved. <strong>Not important!</strong> </em><br/><br/>Thank u:Nor clear <a href="https://interviewquestions.tuteehub.com/tag/want-1448756" style="font-weight:bold;" target="_blank" title="Click to know more about WANT">WANT</a> you want. <br/>Some Windows EXE files must be run in their own folders. You can always send it to the Desktop as a Shortcut, but you don't need a batch file to do that.i do not want to cut or move the exe files from their default location: i just want to make a backup of these files, i could just graze the mouse pointer to the files to achieve this , but i want only selective files ,and doesn't making a bat file serve this purpose,,,,i would know the file and what i want copied.<br/><br/><br/>If someone has understood my view, could anyone suggest something.<br/><br/><a href="https://interviewquestions.tuteehub.com/tag/many-554478" style="font-weight:bold;" target="_blank" title="Click to know more about MANY">MANY</a> thanks:Not really sure what you are doing, but this will copy all the <strong>exe</strong> files from the <em>administrator</em> folder to the <em>administrator desktop</em> folder.<br/><br/> Code: <a>[Select]</a>echo off<br/>copy "C:\Documents and Settings\Administrator\*.exe" "C:\Documents and Settings\Administrator\Desktop<br/><br/>Save the batch script anywhere on your system, then create a shortcut on the desktop that points back to where you saved the script.<br/><br/>Good luck.  That bat worked, i just wanted to copy one exe file: will be using this method to other folders as <a href="https://interviewquestions.tuteehub.com/tag/well-734398" style="font-weight:bold;" target="_blank" title="Click to know more about WELL">WELL</a>. Its me, and my way of doing things, it saves me a lot of time.<br/>   I would like to ask few questions:<br/> <ul><li>You used double " "for the source folder ( at the beginning and at the end ), but single " for the destination: Is their some meaning behind this.</li><li>Can you help me renameing the *.exe to test.exe that is in Desktop. </li></ul>Its what i frequently do when i am downloading some stuffs from the net.<br/><br/>Thank you for your suggestion.<br/> Quote<blockquote>You used double " "for the source folder ( at the beginning and at the end ), but single " for the destination: Is their some meaning behind this.<br/></blockquote> <br/>You're being too kind. There is no sinister meaning, simply a typo on my part. I'm surprised it worked.<br/><br/> Quote<blockquote>i just wanted to copy one exe file: will be using this method to other folders as well<br/><br/>Can you help me renameing the *.exe to test.exe that is in Desktop. <br/></blockquote> <br/> Code: <a>[Select]</a>echo off<br/>copy "C:\Documents and Settings\Administrator\oldfilename" "C:\Documents and Settings\Administrator\Desktop\newfilename"<br/><br/><strong>oldfilename</strong> - is the filename in the administrator folder (filename.exe). <br/><strong>newfilename</strong> - is the filename in the desktop folder (test.exe).  The rename of the file will occur during the copy operation.<br/><br/>You can add as many copy statements as you need to the batch file. Be careful not to duplicate any newfilenames.<br/><br/>Good luck.  <br/><br/>The quotes are required because the path names (documents and settings) of both the source and target directories contain embedded spaces.Thanks for replying: even with a typo ,the batch worked. <br/> Code: <a>[Select]</a>echo off<br/>copy "C:\Documents and Settings\Administrator\oldfilename" "C:\Documents and Settings\Administrator\Desktop\newfilename"<br/> <br/>The renaming worked too: thank you for your time. Although i had to change something to serve my purpose.  Like moving to desktop, but i am happy...<br/><br/>Thank you:<br/>Would you like a Floppy Disc Robot to help you?<br/><br/><br/><strong><a href="http://www.rogerarrick.com/diskrobot/">http://www.rogerarrick.com/diskrobot/</a></strong>Would you like a Floppy Disc Robot to help you?<br/><strong><br/>yes</strong> Code: <a>[Select]</a>Would you like a Floppy Disc Robot to help you?<br/>Thanks for the offer, but i really don't need a  <a href="https://interviewquestions.tuteehub.com/tag/machine-550312" style="font-weight:bold;" target="_blank" title="Click to know more about MACHINE">MACHINE</a> to insert/remove a Floppy Disk. But i strongly believe their is always a place for new things in the market, Rogerarrick may be an innovator but with all honestly i don't see its use here. imo  1 out of 100 people could use it. <br/> Sorry I'll pass, Marlyane seems interested.</body></html>


Discussion

No Comment Found