Recommended Posts

I can't be certain, but taking a quick look at a Windows laptop next to me I can't find the Windows\Start Menu through the path you've specified. Why are you going through the start menu shortcut, anyway? Point to the .exe itself rather than the Start Menu's shortcut. Look for the .exe file under either Program Files or Program Files (x86).

 

EDIT: Also (but I could be wrong) you need to specify if echo is off or on. I would assume you want it turned off (@echo off).

  • Thanks 2
Link to comment
https://www.neowin.net/forum/topic/1398221-syntax-error/#findComment-598567558
Share on other sites

  On 25/07/2020 at 15:45, Bruinator said:

I am trying to run a .bat file to start both hotspot shield and qbittorrent but i have the syntax wrong. Can someone plz help me out. This is what I have:

 

@echo

cd "C:\Programdata\microsoft\windows\start menu\programs"

Start hotspotshield.exe

 

What am I doing wrong plz?

 

TIA

Expand  

batch file should look like this:

@echo off
C:\Program Files (x86)\TeamViewer\teamviewer.exe

You don't need the start command, and I tried to navigate with explorer to start menu\programs and windows would not let me in, it is a protected area. That is why you need to launch it from program files (x86) or program files. Also the @echo off is really not needed, that simply tells the file to not display what it is doing on the screen, and considering it will be going fast, you would not need it!

 

Link to comment
https://www.neowin.net/forum/topic/1398221-syntax-error/#findComment-598567726
Share on other sites

  On 26/07/2020 at 17:03, Bruinator said:

Thx , i found the issue yesterday afternoon. Sorry about not saying so. It was the wrong path. Thx guys.

Expand  

That makes all the difference! :)

  • Haha 2
Link to comment
https://www.neowin.net/forum/topic/1398221-syntax-error/#findComment-598567728
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I wish one of the windows updates hadn't broken glass. Is there a workaround for that I'm not aware of?
    • OpenAI announces o3 Pro, its most intelligent reasoning model by Pradeep Viswanathan OpenAI today announced o3-pro, its flagship reasoning model that uses more compute to "think harder" and provide consistently better answers. This new model will be replacing o1-pro in ChatGPT since it consistently performs better in math, science, and coding. To help everyone make the most out of the model, o3-pro supports tool calling. So, based on the user prompt, the model can do a web search, analyze files, reason about visual inputs, use Python, personalize responses using memory, and more. This is a big improvement over o1-pro, which lacked access to tools. But the downside is that o3-pro will take more time to respond. OpenAI recommends users use o3-pro in cases where reliability matters more than speed. According to OpenAI's evaluations, users consistently preferred o3-pro's responses over o3 in key domains like science, education, programming, business, and writing help. o3-pro was also rated consistently higher for clarity, comprehensiveness, instruction-following, and accuracy. The new o3-pro model is available in ChatGPT's model picker for Pro and Team. ChatGPT's Enterprise and Edu users will get access to this latest model next week. For developers, the o3-pro model comes with a 200,000 context window and is priced at $20 per million input tokens and $80 per million output tokens. OpenAI recommends developers use background mode with o3-pro to prevent timeouts. And the model has a May 31, 2024 knowledge cutoff. The OpenAI team also noted the following as the current limitations of the o3-pro model: At the moment, temporary chats are disabled for o3-pro as we resolve a technical issue. Image generation is not supported within o3-pro—please use GPT-4o, OpenAI o3, or OpenAI o4-mini to generate images. Canvas is also currently not supported within o3-pro. As OpenAI continues to refine its models, the balance between speed and reliability will likely remain a key consideration for users choosing the right tool for their needs.
    • What annoys me is updates take forever to install on my Pixel 9 Pro XL, it was never so slow on my Samsung devices.
  • Recent Achievements

    • Reacting Well
      rshit earned a badge
      Reacting Well
    • Reacting Well
      Alan- earned a badge
      Reacting Well
    • Week One Done
      IAMFLUXX earned a badge
      Week One Done
    • One Month Later
      Æhund earned a badge
      One Month Later
    • One Month Later
      CoolRaoul earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      542
    2. 2
      ATLien_0
      269
    3. 3
      +FloatingFatMan
      209
    4. 4
      +Edouard
      203
    5. 5
      snowy owl
      140
  • Tell a friend

    Love Neowin? Tell a friend!