Help for this page

Select Code to Download


  1. or download this
    if ($^O eq 'MSWin32') {
        require Win32;
        import qw(CSIDL_LOCAL_APPDATA);
        $realhome =  Win32::GetFolderPath( CSIDL_LOCAL_APPDATA() );
    }
    
  2. or download this
    Undefined subroutine &main::CSIDL_LOCAL_APPDATA called at import.pl li
    +ne 11.
    
  3. or download this
    F:\AAAother\data>perl -MExporter -e "require Win32; Exporter::import '
    +CSIDL_LOCAL_APPDATA'; print Win32::GetFolderPath( CSIDL_LOCAL_APPDATA
    +() );"
    Undefined subroutine &main::CSIDL_LOCAL_APPDATA called at -e line 1.
    
  4. or download this
    if ($^O eq 'MSWin32') {
        require Win32;
        print Win32::GetFolderPath( 0x001c ), "\n";
    }
    
  5. or download this
    C:\Documents and Settings\kbuser\Local Settings\Application Data
    
  6. or download this
        $realhome =  Win32::GetFolderPath( CSIDL_LOCAL_APPDATA()  );
        $realhome =~ s|(.*?)\\Local Settings(.*)|$1$2|;