Solved

Create new pre-defined Folders (from existing cmd file) on right click in empty folder. W2000

Posted on 2004-10-12
1
133 Views
Last Modified: 2010-04-14
I am using Windows 2000. I would like to be able to streamline my project folders creation, (and force people to create folders the way I want them created!). My intention is to allow someone to create a new folder [eg 04-543]. From within explorer view of this empty folder I would like them to right click and select |[New Project Folders]| this would then create as follows

---|
    DWGS
    SPECS
    DOCS
    etc
I can get the "Create New Folders" to appear as a right click option

HKEY_CLASSES_ROOT\Folder\shell\DosHere                    value = "Create New Folders"
HKEY_CLASSES_ROOT\Folder\shell\DosHere\command    Value = mybatch.cmd

mybatch.cmd contains:

md "Dwgs"
md "Specs"
md "From Others"
md "Spreadsheets"
md "Pics"

this doesn't quite work.
A - You have to right click on the folder 04-543, and the cmd creates the folders in the same folder that 04-543 is in, and not within folder 04-543.

Any help would be appreciated
0
Comment
Question by:hgj1357
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 12291005
That should be more like

HKEY_CLASSES_ROOT\Folder\shell\DosHere\command    Value = mybatch.cmd "%1"

cd %1
md "Dwgs"
md "Specs"
md "From Others"
md "Spreadsheets"
md "Pics"
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Note: This is the third blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   We’ve been talki…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now