Computing.Net > Forums > Programming > move folder in batsch?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

move folder in batsch?

Reply to Message Icon

Name: chipcat
Date: February 6, 2009 at 08:00:47 Pacific
OS: Microsoft Windows XP Professional
CPU/Ram: 2.088 GHz / 767 MB
Product: Micro-star international / Ms-6712
Subcategory: Batch
Comment:

im searching a solution to cut and paste a folder in cmd.
the batch file i have made is like this:
echo


cd..
cd ds
call TruncJob.cmd
cd ..
cd temp\20????
pause

rename roughdata*.csv RoughData.txt
rename export*.xls creditnotes.txt
copy *.txt ..\..\ds

REM move directories
for /d %%a in (D:\200901\Temp\200*) do move "%%~a" "D:\200901\proceed\"
REM move files at the top level
move "D:\200901\Temp\200*" "D:\200901\proceed\"
pause

until the copy *.txt ..\..\ds everything goes good, but after i'm not capable to move the entire folder 200901 to the folder proceed.
i'v tried different ways but i alwas get an error message.

does someone have a solution for this



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: move folder in batsch?

Batch in Folder in Zip www.computing.net/answers/programming/batch-in-folder-in-zip/17290.html

Make and rename a folder in batch www.computing.net/answers/programming/make-and-rename-a-folder-in-batch/15647.html

Create folder in desktop and set disk quota www.computing.net/answers/programming/create-folder-in-desktop-and-set-disk-quota/19212.html