XP Web Publishing Wizard shortcut?

G

Guest

Hello,

One thing I never even knew about, but recently discovered, was the Web
Publishing Wizard. I've found that I really like using the WPW. But one huge
annoyance is that there doesn't seem to be any easy way to simply navigate to
a file or folder in Explorer, right click on said file or folder, and get the
option to launch the WPW. Instead, you have to actually open the folder
containing the files or folders you want to upload through WPW since that is
the only place you'll see the option for WPW, on the sidebar.

Therefore I have been trying to figure out some way to add this
functionality, either through a context sensitive menu or through adding the
WPW to the SendTo options.

So, I figured out this much, under XP, to launch the Web Publishing Wizard
either from the command line or through a shortcut, you have to run:
rundll32 netplwiz.dll,PublishRunDll

So I just created a little cmd file with that in it. Then added a shortcut
to that command file in my SendTo folder. The idea being to right click on a
file or folder, select SendTo, and select Web Publishing Wizard. The only
problem now is that I can't seem to figure out how to make it start in the
proper folder or pass the file to WPW. It always starts in C:\Documents and
Settings\<your-profile>\My Documents.

So, anyone know a way to pass the proper file and/or path to the wizard?


Thanks!
 
G

Guest

OK...I figured out this much:

SET TEMPPROFILE=%USERPROFILE%
SET USERPROFILE=%CD%
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell
Folders" /v Personal /t REG_EXPAND_SZ /d %%USERPROFILE%% /f
rundll32 netplwiz.dll,PublishRunDll
SET USERPROFILE=%TEMPPROFILE%
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell
Folders" /v Personal /t REG_EXPAND_SZ /d "%%USERPROFILE%%\My Documents" /f
exit

This works from the command line, but not if I go through explorer and
select SendTo. Then it sets the working directory to where I have the CMD
file.

Getting closer though!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top