🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.os.windows-10
Article #357

Re: PSA: How to overcome the 260-character Windows shortcut field limit

#357
From: Maria Sophia
Date: Sun, 18 Oct 2026 19:16
230 lines
10914 bytes
Andy Burns wrote:
> Maria Sophia wrote:
> 
>> I LOVE Andy's suggestion, but looking at JJ's clarification, it seems maybe
>> that LongPathsEnabled registry setting enables long paths for supported
>> applications' file-system operations but, from what JJ clarified, perhaps a
>> shortcut's command line is not a file path
> 
> I have a customer (used to be still running Server 2012R2 but now 
> migrated to Server 2025.
> 
> They have a few staff whose main task is to send quotes in response to 
> tender requests, they have a share that's divided-up like
> 
> Z:\quotes\year\quotenum_companyname_projectdescription\
> 
> where quotenum is auto-generated for them, they populate subfolders with 
> relevant PDF and CAD files, leasing to the final quote.
> 
> The descriptions get stupidly long, some of the folders end up with 
> copies of quotes for previous work, so
> 
> Z:\Quotes\2026\123456_WidgetCo_ProjectDescriptionSqueezedIntoProjectNameField\CopyOf2025\654321_DifferentCompany_SimilarProjectWithEquallyAnnoyingName
> 
> They've been told not to do that, but of course they do it anyway, they 
> complain when they can't manipulate files within that tree.
> 
> The new server has only been in (with the long paths setting) since 
> August, but I've not had any calls to "fix" dodgy folders so far ...

I love Usenet because we get ideas and solutions and experiences from
everyone around the world, where this improves our empirical knowledge.

Having been on these ngs for decades, I don't remember this ever being
discussed, so it's good to know the details of where the limit comes from.

At first, I thought it was a shell limit, but in reality, the 260 
character limits seems to be in whatever link editor Windows uses.

As noted, the LongPathsEnabled registry setting does not remove every
260-character limit in Windows. It enables long-path support for
applications that opt in to it, but it does not automatically change the
behavior of every Windows component, API, or application.

Together we learned the length of a shortcut's executable path, the length
of its stored arguments, and the length of the command line Windows can
execute are three different limits.

Anyway, I decided to use a batch file to resolve the problem, where 
every day, all day, where I used to run a search, I use this file.

I generally uncomment one to-be-tested supposedly free no-registration
LLM each day, where most work only for a while, and then they fail.

To that end, here is the current file, but I still have a few more LLMs
to test, so it will take a few more days of testing to hone the results.


  :: --------------------------------------------------------------------
  :: llm.bat
  :: Set Edge shortcut TARGET to this batch file C:\data\sys\bat\llm.bat
  :: It will open all known free no-registration no-login web-based LLMs
  :: This is designed to make it easy to manage the list and the order
  :: --------------------------------------------------------------------
  :: v1p8 20261015 One by one, I'm testing and adding comments to the start
  :: v1p7 20261014 Added a 2 second wait period to prevent race conditions
  :: v1p6 20261012 Added commented-out option to open each in a new window
  :: v1p5 20261012 Changed to variables instead of repeating command options
  :: v1p4 20261012 Added checks for missing executables just in case
  :: v1p3 20261012 Changed from a list to a start method to allow comments
  :: v1p2 20261012 Added optional "start" method so comments can be added
  :: v1p1 20261012 Added alphabetical LLM URLs into a maintable list
  :: v1p0 20261012 Batch method to overcome shortcut target 260-char limit
  :: --------------------------------------------------------------------
  @echo off
  set "EDGE=C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
  set "EDGE_ARGS=--profile-directory=Default"
  :: Use this option if you want each LLM to open in a separate window
  :: set "EDGE_ARGS=--profile-directory=Default --new-window"
  
  :: I chose Microsoft Edge because it's not of much use for anything else
  if not exist "%EDGE%" (
      echo Edge was not found at:
      echo "%EDGE%"
      exit /b 1
  )
  
  :: A long list is simplest, but it doesn't safely allow for comments 
  :: such as "works with VPN", "1K character limit", "25-turn limit", etc.
  :: Note that ultimate tab order is a race condition so I put slowest first.
  
  for %%U in (
      "https://duckduckgo.com/chat"
      "https://chatgpt.com/"
      "https://gemini.google.com/app"
      "https://deepai.org/chat"
  ) do (
      start "" "%EDGE%" %EDGE_ARGS% "%%~U"
  )
  
  :: The start method easily allows for comments but then the 
  :: order tabs appear may change given each is run separately.
  :: Add a wait period so that race conditions are slowed a bit
  timeout /t 2 /nobreak >nul
  
  :: PASS: Fast startup, slows down miserably over a few turns, 
  :: but works well when re-opened, so it's a server-side slowdown.
  :: Works well with VPN
  :: Can read some current news URLs (will look for others if not)
  :: Single-click URLs
  :: Constnatly nags to log in but allows a swipe
  :: start "" "%EDGE%" %EDGE_ARGS% "https://chatgpt.com/"
  
  :: PASS: Slow startup, does not slow over time but hates VPN
  :: Can read most (if not all) current news URLs
  :: URls are two-click 
  :: start "" "%EDGE%" %EDGE_ARGS% "https://gemini.google.com/app"
  
  :: PASS: Randomly requires privacy acceptance policy at first start
  ::       Randomly asks to use location (out of the blue)
  :: Can read some current news URLs (will look for others if not)
  ::       Slower than most so I put it first in the long list
  :: start "" "%EDGE%" %EDGE_ARGS% "https://duckduckgo.com/chat"
  
  :: FAIL: Randomly requires login at from 0 to about 3 turns.
  :: start "" "%EDGE%" %EDGE_ARGS% "https://arena.ai/"
  
  :: FAIL: Random login, requires privacy acceptance at every startup.
  :: start "" "%EDGE%" %EDGE_ARGS% "https://chat.mistral.ai/chat"
  
  :: FAIL: Randomly requires a login
  :: Randomly asks "What year were you born" which defaults to 2000.
  :: It accepts that, so it's just absurd but the login is what kills it.
  :: start "" "%EDGE%" %EDGE_ARGS% "https://chat.qwen.ai/"
  
  :: PASS: Useful 
  :: Links are easy to click where they open a new tab directly
  :: Can read most (if not all) current news URLs
  start "" "%EDGE%" %EDGE_ARGS% "https://deepai.org/chat"
  
  :: FAIL: 
  :: Only allows 4 turns before locking up
  :: Jesus Christ. You have to accept 5 prompts at every startup
  :: 1. Click "Do Not Sell My Information"
  :: 2. Turn on "Do not sell or share my information"
  :: 3. Scroll to the bottom
  :: 4. Click "Save Settings"
  :: 5. Click "Consent"
  start "" "%EDGE%" %EDGE_ARGS% "https://deep-seek.com/chat"
  
  :: FAIL
  :: Stops working after a short while
  :: Restart does not reset token count
  :: Doesn't stop rather obnoxious popup ads
  start "" "%EDGE%" %EDGE_ARGS% "https://easemate.ai/chat-gpt-free"
  
  :: PASS: Starts nagging to log in after a few turns
  :: Guest limit seems to be about 60 normal turns per day
  :: But it seems to forget that if you restart the session
  start "" "%EDGE%" %EDGE_ARGS% "https://ecogpt.com/"
  
  :: comment
  start "" "%EDGE%" %EDGE_ARGS% "https://gizza.ai/chat"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://huggingface.co/spaces"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://lumo.proton.me/guest"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://olabiba.com/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://perplexity.ai/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://phindai.org/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://pi.ai/talk/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://plai.chat/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://quad.chat/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://rewind.ai/best/no-sign-up/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://rok.rokteam.org/chat"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://search.brave.com/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://talkai.info/chat/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://venice.ai/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://webkitonline.com/ai/chat/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://aifreeforever.com/chat"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://surfsense.com/free"
  
  :: Error: Unable to find a compatible GPU
  :: start "" "%EDGE%" %EDGE_ARGS% "https://chat.webllm.ai/"
  
  :: comment
  :: start "" "%EDGE%" %EDGE_ARGS% "https://zalt.me/tools/free-ai-chat-online"
  
  :: Need to figure out what this is
  :: start "" "%EDGE%" %EDGE_ARGS% "https://aifreeforever.com/chat"
  
  :: Need to figure out what this is
  :: start "" "%EDGE%" %EDGE_ARGS% "https://surfsense.com/free"
  
  :: Need to figure out what this is
  :: start "" "%EDGE%" %EDGE_ARGS% "https://zalt.me/tools/free-ai-chat-online"
  
  :: end of llm.bat
-- 
On Usenet, we improve our knowledge by sharing & discussing solutions.
Technical Details
Message-ID: <11b35th$2g62$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-13.vpngate.v4.open.ad.jp!not-for-mail
References: <11ajida$fg6$1@nnrp.usenet.blueworldhosting.com> <nje20nFpq63U1@mid.individual.net> <16keqdc0p9edk$.c1hsh656fpf0$.dlg@40tude.net> <11atiro$eom$1@nnrp.usenet.blueworldhosting.com> <njf2auFhd2U1@mid.individual.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-13.vpngate.v4.open.ad.jp!not-for-mail
From: Maria Sophia <mariasophia@comprehension.com>
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.comp.microsoft.windows
Subject: Re: PSA: How to overcome the 260-character Windows shortcut field limit
Date: Sun, 18 Oct 2026 15:16:02 -0400
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <11b35th$2g62$1@nnrp.usenet.blueworldhosting.com>
References: <11ajida$fg6$1@nnrp.usenet.blueworldhosting.com> <nje20nFpq63U1@mid.individual.net> <16keqdc0p9edk$.c1hsh656fpf0$.dlg@40tude.net> <11atiro$eom$1@nnrp.usenet.blueworldhosting.com> <njf2auFhd2U1@mid.individual.net>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 18 Oct 2026 19:16:02 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="l//KxG3Ge2LojWvwJg0Igv8F0ChK8RUC9RtOxMPUo3U"; posting-host="th7EnTmaYbtJfECRly3w6PBVyFuCT/fi/bituBlj6lY";
	logging-data="82114"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Mojibake 1p3
Cancel-Lock: sha1:9QrCF7f1OXKd/yO0fy9OWSrlBCU= sha256:NnqaU4m8zdwP5EJKv+QlKHmMPRYWW6cwQC8e8oXn7pA=
	sha1:VvyR5v9kfTxe6BCJzKwp0IYpKz4= sha256:/j1DU51TVE+bXmEL4mdGme3pJy91L5o6LOcDPAviykE=
Content-Language: en-GB