Solved

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

Posted on 2004-10-12
1
131 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

705 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

17 Experts available now in Live!

Get 1:1 Help Now