Jump to content

Batch questions

SGTWolfmann

I have an assignment in which I need to create a folder and write to two seperate text documents within the folder, and I thought I had done it correctly, but it doesn't seem to work... any suggestions?

 

project.txt

PC: 

CPU: A6-5400k | Mobo: Some MSI Mobo | RAM: 2x4 1866 MHz G.Skill Sniper | GPU: R7 260x

Peripherals:

Keyboard: Logitech G105 | Webcam: Logitech C310 | Monitor: AOC E2070Swn | SteelSeries 3Hv2
Link to comment
Share on other sites

Link to post
Share on other sites

Try to remove all spaces and replace them with underscores.

There's always a way...

Link to comment
Share on other sites

Link to post
Share on other sites

@0x550x42

didn't seem to work, seemed to break it more :/

PC: 

CPU: A6-5400k | Mobo: Some MSI Mobo | RAM: 2x4 1866 MHz G.Skill Sniper | GPU: R7 260x

Peripherals:

Keyboard: Logitech G105 | Webcam: Logitech C310 | Monitor: AOC E2070Swn | SteelSeries 3Hv2
Link to comment
Share on other sites

Link to post
Share on other sites

cd c:\users\catc-dp-1\desktop

mkdir "folder 1"

cd "folder 1"

xcopy c:\sers\catc-dp 1\desktop\folder 1\123>file1.txt

xcopy c:\sers\catc-dp 1\desktop\folder 1\123>file 2.txt

cd c:\users\catc-dp 1\desktop

mkdir "folder 2"

xcopy "c:\users\catc-dp 1\desktop\folder 1" "C:\users\catc-dp 1\desktop\folder 2"

pause

 

 

Your are entering a different user name catc-dp-1 and catc-dp 1

 

 

and in place of users there's sers

There's always a way...

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×