Messages - wreckedcarzz [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 326next
1
So I searched a bit more and came across this, with the 'net use' command mentioned here. With modification, it seems to work, and is quick enough on login to work; again, I don't know much about much beyond single-line shell commands; is this the proper way of doing this? I also had saved the login credentials when I initially set the shares up (not sure if that's separate from the credential manager)..

I'm also still using the machine name over the IP here, and it doesn't *seem* to matter - I have almost 40 devices on my network, but the NAS has a static IP via the router.. (I was using the IP as posts about similar questions said that it was recommended as a solution for this initial issue, but it made no difference in the mapped shares, so I switched back).

@echo off

:Start
timeout /t 1 /nobreak >NUL
if exist W:\ X:\ Y:\ Z:\ NUL goto End
net use W: \\NAS\backups /PERSISTENT:YES
net use X: \\NAS\homes /PERSISTENT:YES
net use Y: \\NAS\media /PERSISTENT:YES
net use Z: \\NAS\temp /PERSISTENT:YES
if ERRORLEVEL 1 goto exit
:End

I imagine there are differences between cmd and ps, and so this doesn't have the retry function/I am in no way skilled with either tool to try and combine them, which is unfortunate, but initial tests seemed to work for me.

Thoughts?

2
for ($i = 0; $i -lt 100; $i++) {
  if (Test-Path \\nas\folder) {Exit}
  Start-Sleep -seconds 1
}

It'll test for the share every second for 99 seconds, exiting if it exists.

I know nothing with regards to PS; however, this seems ideal from a simplicity standpoint... but it doesn't seem to do anything to trigger a change in Windows' state of the share. If I run the Test-Path command (with \\NAS\someFolder) manually in PS it does return True (and a bad/non-existent dir returns False, so I know it's actually querying the share)... but Explorer still shows the share as disconnected. :huh:

It's probably something I'm not seeing - some background: I have four shares, all with Windows drive letters (W X Y Z) and they are all on the same machine (so W: is \\NAS\folder, X: is \\NAS\anotherFolder, etc). Would that be handled differently, instead of a share that isn't being mapped..?

Interestingly, if I run Tast-Path on Y:\ (which houses my media collection and where I am pointing ReLive to), while Windows thinks it's disconnected, it returns False. Hmm...

3
Hey everyone! (for those who recognize the username, yes, I'm still here now and then)

I'm sure my situation is not unique, but I've tried different suggestions around the net and none have handed my delemma. I have a NAS set up for the better part of a year, have it hooked to my domain, outside access, all that good stuff. However, on the LAN if I don't wait for the network adapter to establish the connection before I enter my credentials, all my local shares appear as disconnected.

Now I've known for years that simply opening up the shares will force Windows to retry the connection - and up until recently, that was an acceptable quirk. However, I'm using the NAS as the storage medium for AMDs new(ish) ReLive. And because it runs at startup, if I don't wait for the network connection before logging in *or* very quickly opening up My PC and forcing Windows to try again, when the driver software launches it will see that the share is disconnected, and disable ReLive (at least, the Instant Replay functionality I'm using the most). And because it's not in my muscle memory, I often forget until something happens that I want to capture - and the ReLive software simply says "Instant Replay Off".

So... Is there a tool that can attempt to reconnect with disconnected shares every half-second or so, running on startup, thereby mitigating the driver software 'try-instantly fail' situation? Free solutions or otherwise (cost within reason), I am just tired of this being an issue that I have to handle myself.

Thanks all (and if there is a separate section of the forum for stuff like this, sorry, I didn't see at a glance)!

-Brandon

4
I forgot all about RSS feeds.... But they don't display anything more than the initial post x_X

A mobile layout would be great; simple and no features lost. I'm just after an easy way to read and post =)

5
It's been forever since I posted, so I apologize if this is better suited for a different area of the forum. :-[

Basically, I'm wondering if we have any Android devs that are looking for something to do! Because of medical reasons/current state, I can't really use my proper PC to read the DC forums. I spend a lot of my days on my tablet and phone, talking with friends, browsing reddit, scrolling down my Facebook feed... But it would be nice to read techy things from, and to talk with, the people I recognize :)

Anyone? Or suggestions for a work around? My Googling came up dry...
(and, sorry for any major errors, it is annoying to use Chrome for text)

Pages: [1] 2 3 4 5 6 ... 326next
Go to full version