TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A simple batch file for Windows which will launch your workspace

2 pointsby lokardaabout 9 years ago

1 comment

Jaruzelabout 9 years ago
The downside of the code presented in the link, is that the batch script will execute way faster than the apps can launch and will cause disk thrashing which slows everything down. To combat this, I add a &#x27;ping&#x27; entry to any app launching script that I put in a machines Startup folder:<p><pre><code> REM Launch Outlook start &quot;&lt;path-to-outlook&gt;\OUTLOOK.EXE&quot; REM Wait a couple of seconds ping -n 2 localhost &gt;nul: REM Launch Firefox start &quot;&lt;path-to-firefox&gt;\FIREFOX.EXE&quot;</code></pre>
评论 #11453250 未加载