× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

NR42200, batch file

astro76
Aspirant

NR42200, batch file

Im looking to create a batch file to access my NAS. I did it once before but cant remember how to make it.

 

I have some notes I too but they make no since to me.

 

This is what I have.

start wgnplot.exe "c:\path to file to open\foo.dat"

exp:
start \\CJP5516\ "c:\NETWORK\CJP5516"

Then name file BAT

 

 

My nases name is Zalda

I dont know what network means. does it mean the ip address of the nas?

 

I have tried many differnent ways tryin gto use the formula , but no luck.

I'm not sure what Im doing wrong.

 

Ant help or suggestions would be most greatfull.

Thank you

Model: RN422|ReadyNAS 422 2-Bay with up to 20 TB total storage
Message 1 of 2
StephenB
Guru

Re: NR42200, batch file

It'd be useful if you explain what you are trying to accomplish.

 

Are you trying to launch a specific application (wgnplot.exe), telling it to open a file on the NAS???  I'm not finding that application with google, the closest thing I see is wgnuplot.

 

Windows uses a naming convention called UNC (universal naming convention).  A file on the NAS is accessed either with \\nas-name\sharename\filename or \\nas-ip-address\sharename\filename.  Nas-name is the host name of the NAS,nas-ip-address is the ip address of the NAS.  It's important to use the correct slash (\, not /).

 

You can also specify subfolders using the usual windows convention. 

 

For example, "\\10.0.0.15\Photos\Vacations\2017 Hawaii\IMG_0001.jpg"

 

This is on the NAS (IP address 10.0.0.15), in the Photos share.  There's a Vacations folder in Photos, and a 2017 Hawaii folder in Vacations. The quotes around the name are needed because there's a space (2017 Hawaii).  I find it easier to always include the quotes (whether there's a space or not).

 

 

 

 

Message 2 of 2
Top Contributors
Discussion stats
  • 1 reply
  • 837 views
  • 0 kudos
  • 2 in conversation
Announcements