Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


36 posts


#79961 24-Mar-2011 22:12
Send private message

Hello HELP :)

I need a batch to do these thing help thanks

creates folder on root of c: called "My Batch Script"
creates a folder within "My Batch Script" called "Input"
creates another folder within "My Batch Script" called "Processing"
creates another folder within "My Batch Script" called "Output"

Lists all "hidden files" in the root directory of c: drive -output the listing to a file called "Batch Script File Input Data.txt" in the Input subfolder


Create new topic
55 posts

Master Geek

  #451614 24-Mar-2011 22:35
Send private message

Seems an odd request from my point of view to be asking this as a first post?
Could I ask why and what for? Laughing


Get easy to use, easy to install Norton antivirus protection against advanced online threats (affiliate link).
4064 posts

Uber Geek


  #451616 24-Mar-2011 22:39
Send private message

mkdir "c:\My Batch Script"
mkdir "c:\My Batch Script\Input"
mkdir "c:\My Batch Script\Processing"
mkdir "c:\My Batch Script\Output"
for /f %%a IN ('dir c:\ /b /ah-s-d') do echo %%a >> "c:\My Batch Script\Input\Batch Script File Input Data.txt"

4756 posts

Uber Geek

Lifetime subscriber

  #451857 25-Mar-2011 19:02
Send private message

According to your duplicate post, , you are asking us to do your homework?

A1: Output a line to the screen that displays your user ID, name, study stream, the title of this assignment and the name of the batch file.

A2: Create a folder on the root of the C: drive called ?My Batch Script File Assignment?

A3: Go into the ?My Batch Script File Assignment? folder.

A4: Create a folder within ?My Batch Script File Assignment? called ?Input?

A5: Create another folder within ?My Batch Script File Assignment? called ?Processing?

A6: Create another folder within ?My Batch Script File Assignment? called ?Output?

A7: List all hidden files in the root directory of the C: drive ? output the listing to a file called ?Batch Script File Input Data.txt? in the ?Input? subfolder.

A8: Make a backup copy of the second batch script file, also on the root of the C: drive, and with the same name, but with extension ?.bak?.

A9: Move the second batch script file into the ?Processing? subfolder.

A10: Go to the root directory of the C: drive
(This command must work the same from whichever drive, folder or subfolder the script is currently in.)

A11: Run the second batch script file.

A12: Update the folder search path for batch script file execution to include the ?Processing? subfolder, and then display the folder search path.
(Make sure you preserve the folders that were already in the search path.)

A13: Run the second batch script file again, by specifying only the file?s name.

A14: Delete folder ?My Batch Script File Assignment?, together with all subfolders and their contents.


aka Fast Raccoon !
13022 posts

Uber Geek

Retired Mod
ID Verified
Lifetime subscriber

  #451889 25-Mar-2011 21:00
Send private message

Do what I did for one of my computer studies assignment.... ask a student from the previous years class if they had the same assignment - if yes, get a copy and modify it to make it your own :)

My teacher picked up on my using someone elses work...gave me an A+ because I had modified it enough to show I knew what it and I was doing :)

       Gavin / xpd / FastRaccoon / Geek of Coastguard New Zealand


                      LinkTree - - Lego and more


       Support Kiwi music!   The People   Black Smoke Trigger   Like A Storm   Devilskin


                                            NZ GEEKS Discord______________________________



Create new topic

News and reviews »

New Air Traffic Management Platform and Resilient Buildings a Milestone for Airways
Posted 6-Dec-2023 05:00

Logitech G Launches New Flagship Console Wireless Gaming Headset Astro A50 X
Posted 5-Dec-2023 21:00

NordVPN Helps Users Protect Themselves From Vulnerable Apps
Posted 5-Dec-2023 14:27

First-of-its-Kind Flight Trials Integrate Uncrewed Aircraft Into Controlled Airspace
Posted 5-Dec-2023 13:59

Prodigi Technology Services Announces Strategic Acquisition of Conex
Posted 4-Dec-2023 09:33

Samsung Announces Galaxy AI
Posted 28-Nov-2023 14:48

Epson Launches EH-LS650 Ultra Short Throw Smart Streaming Laser Projector
Posted 28-Nov-2023 14:38

Fitbit Charge 6 Review 
Posted 27-Nov-2023 16:21

Cisco Launches New Research Highlighting Gap in Preparedness for AI
Posted 23-Nov-2023 15:50

Seagate Takes Block Storage System to New Heights Reaching 2.5 PB
Posted 23-Nov-2023 15:45

Seagate Nytro 4350 NVMe SSD Delivers Consistent Application Performance and High QoS to Data Centers
Posted 23-Nov-2023 15:38

Amazon Fire TV Stick 4k Max (2nd Generation) Review
Posted 14-Nov-2023 16:17

Over half of New Zealand adults surveyed concerned about AI shopping scams
Posted 3-Nov-2023 10:42

Super Mario Bros. Wonder Launches on Nintendo Switch
Posted 24-Oct-2023 10:56

Google Releases Nest WiFi Pro in New Zealand
Posted 24-Oct-2023 10:18

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.