Help with homework plz

November 3rd, 2013

so i need help making this batch file for my homework. the homework is Case 3 here is a SS of it got as far as 4) e.

here is my batch program i got and im a newb so sorry for errors but plz help- me
cant seem to upload load it but heres what i did
@echo off
cls
rem test one replaceable parameter:
if test%1 == test%1
rem jump to error message if you typed no filename:
if test%1 == test GOTO :EOF
rem error message if you typed no file name:
echo Please include a filename, like this:
echo AddNewFiles filename
cd %userprofile%\Documents\Northbay & set userprofile=C:\Users\MyPC\Documents\Northbay
rem if directory exist change directory to that directory
if exist %1\nul cd %1\nul
rem if directory doesnt exist goto eof
if not exist %1\nul goto :eof

Answer #1
Bloody hell, how OLD is that course you are doing?
Computers sold now don’t even have floppy drives, and no one in an office uses batch files when there are perfectly good auto-backup programs for windows.
If this is a new course you’re paying for, I’d demand a refund and look for one more up-to-date!
Answer #2
Fluffbutt replied: Bloody hell, how OLD is that course you are doing?
Computers sold now don't even have floppy drives, and no one in an office uses batch files when there are perfectly good auto-backup programs for windows.
If this is a new course you're paying for, I'd demand a refund and look for one more up-to-date!

hahaha yea i know tht chapter just talks about that
Answer #3
ZIP Disks? Can you even buy a drive that supports ZIP any more?
I love batch programming but I’m not going to do your homework for you, here is a help section for using the xcopy command:
http://www.computerhope.com/xcopyhlp.htm
Computerhelp is a very useful site, be sure to bookmark it.
Answer #4
Wise-San replied: ZIP Disks? Can you even buy a drive that supports ZIP any more?
I love batch programming but I'm not going to do your homework for you, here is a help section for using the xcopy command:
http://www.computerhope.com/xcopyhlp.htm
Computerhelp is a very useful site, be sure to bookmark it.

im not asking u to help me do all my homework. im having problems with the FOR commands

 

| Sitemap |