Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: [implementation specific to windows] writing a proper batch file for terminal start-up

by Aldebaran (Chaplain)
on Oct 19, 2019 at 04:35 UTC ( #11107682=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @ECHO OFF 
    C:\BIN\PERL\TINYPERL -I C:\BIN\PERL\LIB "%1" %2 %3 
    ECHO. 
    PAUSE 
    
  2. or download this
    PS C:\Strawberry> Ftype Perl_program_file="C:\Strawberry\perl\bin\perl
    +.exe" %1
    Ftype : The term 'Ftype' is not recognized as the name of a cmdlet, fu
    +nction, script file, or operable program. Check
    the spelling of the name, or if a path was included, verify that the p
    +ath is correct and try again.
    ...
        + FullyQualifiedErrorId : CommandNotFoundException
    
    PS C:\Strawberry>
    
  3. or download this
    C:\Users\tblaz>assoc .pl
    .pl=Perl_program_file
    
    C:\Users\tblaz>
    
  4. or download this
    @echo off
    rem set env variables
    set TERM=dumb
    ...
    Ftype Perl_program_file="C:\Strawberry\perl\bin\perl.exe" %1
    ECHO. 
    PAUSE 
    
  5. or download this
    Perl executable: C:\Strawberry\perl\bin\perl.exe
    Perl version   : 5.30.0
    File type 'Perl_program_file' not found or no open command associated 
    +with it.
    
    Press any key to continue . . .
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11107682]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2019-12-09 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?