?
Solved

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

Posted on 2004-10-12
1
Medium Priority
?
140 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

762 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