corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » FAO: Clever IT People.. » Post Reply

Post Reply
Who Can Post? All users can post new topics and all users can reply.
Icon:
Formatting Mode:
Normal
Advanced
Help

Insert Bold text Insert Italicized text Insert Underlined text Insert Centered text Insert a Hyperlink Insert Email Hyperlink Insert an Image Insert Code Formatted text Insert Quoted text
Message:
HTML is Off
Smilies are On
BB Code is On
[img] Code is On
Post Options: Disable smileys?
Turn BBCode off?
Receive email notification of new replies?

James

posted on 1st Nov 06 at 01:03

Batch files are cool :cool:


Ian

posted on 1st Nov 06 at 00:58

Sorted :cool:


Bart

posted on 31st Oct 06 at 15:58

haha, does this make me a clever it person lol

quote:

@echo off
set /p name="Type Name of Project:"
echo %name%
mkdir %name%
mkdir %name%\Correspondance
mkdir %name%\Correspondance\Email
mkdir %name%\Correspondance\"General Documents"
mkdir %name%\Correspondance\"Letters & Faxes"
mkdir %name%\"Design Info"
mkdir %name%\"Design Info"\"Cables Schedules"
mkdir %name%\"Design Info"\"Circuit Diagrams"
mkdir %name%\"Design Info"\"Document Transmittal"
mkdir %name%\"Design Info"\"Label Drawings"
mkdir %name%\"Design Info"\"Parts Lists"
mkdir %name%\"Design Info"\"PLC Software & Info"
mkdir %name%\"Design Info"\"Single Line Diagrams"
mkdir %name%\"Design Info"\"Steelwork Arrangements"
mkdir %name%\"Design Info"\"Technical Construction Info"
mkdir %name%\Financial
mkdir %name%\Financial\"Invoice & Stage Claim Info"
mkdir %name%\Financial\"Orders and Instructions"
mkdir %name%\Financial\"Original Tender Information"
mkdir %name%\Financial\Quotations
mkdir %name%\"General Information"
mkdir %name%\"Health & Safety"
mkdir %name%\"Health & Safety"\General
mkdir %name%\"Health & Safety"\"Inspections & Audits"
mkdir %name%\"Health & Safety"\"MS & RA"
mkdir %name%\Manuals
mkdir %name%\Manuals\Commissioning
mkdir %name%\Manuals\"Operation & Maintenance"
mkdir %name%\Manuals\"Test Certification"
mkdir %name%\Manuals\Training
mkdir %name%\Photos
mkdir %name%\Planning


Bart

posted on 31st Oct 06 at 14:36

Thanks ian.. im almost there.

Is it possible to create a new folder based on a users input? (the echo command?)



[Edited on 31-10-2006 by Bart]


Bart

posted on 31st Oct 06 at 14:25

googled it:

mkdir Correspondance
mkdir Correspondance\Email
mkdir Correspondance\General Documents
mkdir Correspondance\Letters & Faxes
mkdir Design Info
mkdir Design Info\Cables Schedules
mkdir Design Info\Circuit Diagrams
mkdir Design Info\Document Transmittal
mkdir Design Info\Label Drawings
mkdir Design Info\Parts Lists
mkdir Design Info\PLC Software & Info
mkdir Design Info\Single Line Diagrams


Bart

posted on 31st Oct 06 at 14:16

thats not a bad idea.

suggestions for batch file.. :)


Ian

posted on 31st Oct 06 at 13:57

Would a batch file not do this?

If it runs as the correct user the permissions should be OK, just loads of mkdir and cd commands?


Cybermonkey

posted on 31st Oct 06 at 13:09

or store it on a protected network drive that has read--only rights for anyone less than administrator. then you dont have to faff around with folder permissions. just my 2 cents


Bart

posted on 31st Oct 06 at 12:53

thats the last resort i think.
Its slightly long winded


Cybermonkey

posted on 31st Oct 06 at 12:50

why dont you just have a template version stored somewhere as read-only access. ie, justmove this into a project or user area, just copy and paste?


Bart

posted on 31st Oct 06 at 12:44

Ive been told it could be done with document libaries with sharepoint?

is this the case?


Bart

Icon depicting mood of post posted on 31st Oct 06 at 11:55

we are close to getting our new server install (2nd week of november), and its been decided that we will completely restructure the way in which we currently save our work as its too seperate and a new central location is needed.

Im looking for an easy way to create a single folder, and within that folder it creates 15 new folders all with specific names.
We need to split down our projects into the following folders:



These are the required folders we will need for each project created. Obviously you dont want to be creating all these folders each time.
Is there any easy way this can be done without using specialist 3rd party software?
We will be using SBS 2003 shortly and also Sharepoint, but i dont know enough about either software to be able comment myself.

Does anyone have any suggestions?