corsasport.co.uk
 

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


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author FAO: Clever IT People..
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
   31st Oct 06 at 11:55   View User's Profile U2U Member Reply With Quote

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?
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
31st Oct 06 at 12:44   View User's Profile U2U Member Reply With Quote

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

is this the case?
Cybermonkey
Member

Registered: 22nd Sep 02
Location: Sydney, Australia
User status: Offline
31st Oct 06 at 12:50   View User's Profile U2U Member Reply With Quote

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
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
31st Oct 06 at 12:53   View User's Profile U2U Member Reply With Quote

thats the last resort i think.
Its slightly long winded
Cybermonkey
Member

Registered: 22nd Sep 02
Location: Sydney, Australia
User status: Offline
31st Oct 06 at 13:09   View User's Profile U2U Member Reply With Quote

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
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
31st Oct 06 at 13:57   View Garage View User's Profile U2U Member Reply With Quote

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?
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
31st Oct 06 at 14:16   View User's Profile U2U Member Reply With Quote

thats not a bad idea.

suggestions for batch file..
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
31st Oct 06 at 14:25   View User's Profile U2U Member Reply With Quote

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
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
31st Oct 06 at 14:36   View User's Profile U2U Member Reply With Quote

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
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
31st Oct 06 at 15:58   View User's Profile U2U Member Reply With Quote

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

Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
1st Nov 06 at 00:58   View Garage View User's Profile U2U Member Reply With Quote

Sorted
James
Member

Registered: 1st Jun 02
Location: Surrey
User status: Offline
1st Nov 06 at 01:03   View User's Profile U2U Member Reply With Quote

Batch files are cool

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
FAO any1 Drew General Chat 11 1161
19th Apr 03 at 11:51
by 16vmarc
 
FAO Big Ste BenVTS Help Zone, Modification and ICE Advice 24 828
29th Aug 03 at 17:40
by lacky75
 
Wat Da Fuk!!! Rocky General Chat 12 810
15th Oct 03 at 21:22
by DJ Rocky
 
FTAO 106GTi owners SilverSport1.4 General Chat 22 841
27th Jan 04 at 20:52
by SilverSport1.4
 

Corsa Sport » Message Board » Off Day » Geek Day » FAO: Clever IT People.. 28 database queries in 0.0155959 seconds