X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=wince%2Fregistry.bat;h=0fd58c3d3c4ff21302da6824345115c2ddbbaf1f;hb=ce50c03327684464451f248ddc0b6adc199cce2d;hp=f9c819312de710fd602bc97e25b90ce89143d3b7;hpb=e1caacb4fdb62cb28dc825ca0115faf95e569339;p=p5sagit%2Fp5-mst-13.2.git diff --git a/wince/registry.bat b/wince/registry.bat index f9c8193..0fd58c3 100755 --- a/wince/registry.bat +++ b/wince/registry.bat @@ -1,28 +1,28 @@ -@echo off - -::- This script must be executed on the PC with an ActiveSync -::- connection. If it does not work, create the entries with -::- a remote registry editor or get a registry editor for your -::- devices. -::- -::- You need my cereg.exe program. - -::- My paths... -set perlexe=\speicherkarte2\bin\perl.exe -set perllib=\speicherkarte2\usr\lib\perl5 - -::- PERL5LIB -cereg -k "HKLM\Environment" -n "PERL5LIB" -v "%perllib%" - -::- For ShellExecute -cereg -k "HKCR\.pl" -n "" -v "perlfile" -cereg -k "HKCR\perlfile" -n "" -v "Perl Script" -cereg -k "HKCR\perlfile\DefaultIcon" -n "" -v "%perlexe%,-1" - -::- You might need to fix the quotes if your paths contain spaces! -cereg -k "HKCR\perlfile\Shell\open\command" -n "" -v "%perlexe% %%1" - -cereg -k "HKLM\Environment" -n "ROWS" -v "10" -cereg -k "HKLM\Environment" -n "COLS" -v "75" -cereg -k "HKLM\Environment" -n "PATH" -v "/Speicherkarte2/bin" -cereg -k "HKLM\Environment" -n "UNIXROOTDIR" -v "/Speicherkarte2" +@echo off + +::- This script must be executed on the PC with an ActiveSync +::- connection. If it does not work, create the entries with +::- a remote registry editor or get a registry editor for your +::- devices. +::- +::- You need my cereg.exe program. + +::- My paths... +set perlexe=\speicherkarte2\bin\perl.exe +set perllib=\speicherkarte2\usr\lib\perl5 + +::- PERL5LIB +cereg -k "HKLM\Environment" -n "PERL5LIB" -v "%perllib%" + +::- For ShellExecute +cereg -k "HKCR\.pl" -n "" -v "perlfile" +cereg -k "HKCR\perlfile" -n "" -v "Perl Script" +cereg -k "HKCR\perlfile\DefaultIcon" -n "" -v "%perlexe%,-1" + +::- You might need to fix the quotes if your paths contain spaces! +cereg -k "HKCR\perlfile\Shell\open\command" -n "" -v "%perlexe% %%1" + +cereg -k "HKLM\Environment" -n "ROWS" -v "10" +cereg -k "HKLM\Environment" -n "COLS" -v "75" +cereg -k "HKLM\Environment" -n "PATH" -v "/Speicherkarte2/bin" +cereg -k "HKLM\Environment" -n "UNIXROOTDIR" -v "/Speicherkarte2"