SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows 7

(Solved) - Batch Files

(12 posts)
  • Started 1 year ago by bobro
  • Latest reply from raphoenix
  • Topic Viewed 2616 times

bobro
bobro
Posts: 384

Hi All

does anyone know any good sites where i can get help whilst writing some batch files.. I will need it to be checking for files and depending on the file names doing either nothing or copying across from a network share, so not simple stuff, well i dont think its simple stuff.

only ever wrote a batch file to delete a file or copy a file before.

Posted 1 year ago
Top
 
Xhi
Xhi
Posts: 6298

Here are the commands with links to a good definition of each. MS-DOS and command line overview

Posted 1 year ago
Top
 
Veegertx
Veegertx
Posts: 376

Heres an offline chm file very useful. Shows all the syntax Windows Command Reference
http://www.microsoft.com/en-us.....px?id=2632

Posted 1 year ago
Top
 
raphoenix
raphoenix
Posts: 14920

It don't work.

Posted 1 year ago
Top
 
Xhi
Xhi
Posts: 6298

WinCmdRef.chm -- After downloading it and clicking on it, it did not work for me either.

Posted 1 year ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

Works for me ok.

Posted 1 year ago
Top
 
Xhi
Xhi
Posts: 6298

This is what I get when executing it.

Posted 1 year ago
Top
 
raphoenix
raphoenix
Posts: 14920

Yes, MS issued an Update a long time ago that has kill bits for older programs which used CHM files.

I figured it might not work but just wanted to check it out.

Probably a way to make it work however. :)

Rick P.

Posted 1 year ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

What I get,

Posted 1 year ago
Top
 
Xhi
Xhi
Posts: 6298

Maybe it's a country thing??

Posted 1 year ago
Top
 
gedstar
gedstar
Posts: 521

Windows 7 "open file security warning"

if you get the above message when opening the file, uncheck "always ask before opening this file" should do the trick for you, work for me

Sorry can't show screenshot, not sure how to.

Posted 1 year ago
Top
 
raphoenix
raphoenix
Posts: 14920

I got it working now. :) :)

Use at your OWN RISK.
====================================================================

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.CHM]
@="chm.file"

[HKEY_CLASSES_ROOT\chm.file]
@="Compiled HTML Help file"
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,68,00,68,00,63,00,74,00,72,00,6c,00,2e,00,6f,00,63,00,78,00,2c,\
00,2d,00,34,00,35,00,32,00,00,00

[HKEY_CLASSES_ROOT\chm.file\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,68,00,68,00,2e,00,65,00,78,00,65,00,2c,00,30,00,00,00

[HKEY_CLASSES_ROOT\chm.file\shell\open\command]
@=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,68,00,68,00,2e,00,65,00,78,00,65,00,22,00,20,00,25,00,31,00,\
00,00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.CHM\UserChoice]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.CHM\OpenWithProgids]
"chm.file"=hex(0):

====================================================================

Rick P.

Posted 1 year ago
Top
 



Topic Closed

This topic has been closed to new replies.

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!