home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.editors      What? Edlin ain't good enough for you?      123,932 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 123,568 of 123,932   
   Marion to R.Wieser   
   Re: How to edit HTML source file on Wind   
   15 Jan 25 18:10:23   
   
   XPost: alt.comp.os.windows-10, alt.comp.software.firefox   
   From: marion@facts.com   
      
   On Wed, 15 Jan 2025 13:35:28 +0100, R.Wieser wrote :   
      
      
   > You mean, that does not work for your batch file.   
   >   
   > But how do you *know* it doesn't work for your batchfile ?  Maybe the   
   > batchfile runs but it just can't run gvim.exe itself for some reason.   
   >   
   > IOW, what did you do to check/test what part works and what part doesn't ?   
      
   Agreed that you're correct it might work for other batch files.   
   Just not gvim.bat - and even then - it still could be a local problem.   
      
   Thanks for that sound advice.   
   Here's the gvim.bat file installed during the initial setup process.   
      
      @echo off   
      rem -- Run Vim --   
      rem # uninstall key: vim82 #   
      
      setlocal   
      set VIM_EXE_DIR=C:\bin\vim\vim82   
      if exist "%VIM%\vim82\gvim.exe" set VIM_EXE_DIR=%VIM%\vim82   
      if exist "%VIMRUNTIME%\gvim.exe" set VIM_EXE_DIR=%VIMRUNTIME%   
      
      if not exist "%VIM_EXE_DIR%\gvim.exe" (   
          echo "%VIM_EXE_DIR%\gvim.exe" not found   
          goto :eof   
      )   
      
      rem check --nofork argument   
      set VIMNOFORK=   
      :loopstart   
      if .%1==. goto loopend   
      if .%1==.--nofork (   
          set VIMNOFORK=1   
      ) else if .%1==.-f (   
          set VIMNOFORK=1   
      )   
      shift   
      goto loopstart   
      :loopend   
      
      if .%VIMNOFORK%==.1 (   
          start "dummy" /b /wait "%VIM_EXE_DIR%\gvim.exe"  %*   
      ) else (   
          start "dummy" /b "%VIM_EXE_DIR%\gvim.exe"  %*   
      )   
   --   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca