|
What is the best way to map a network share to a windows drive using Python? This share also requires a username and password.
Started by Gary Willoughby on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
A quick, This was a part of an RPC server where... .
Or you could should be able to enter both the password and user id in the net use command to map the drive.
I'd go with IronPython and this article : Mapping a Drive Letter Programmatically .
|
|
I love the fact that you can now buy 1 and 2 TB drives cheap. However that much data on a single drive scares me. What would be the best way to build a raid system out of external drives? I am looking for advice on performance, price, and ease of data...
Started by Tony Borf on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at serverfault):
In RAID6 or RAID10 if you want redundancy, so even if a drive fails you can replace it and rebuild of data recovery should a drive fail
RAID 5 is redundant against a single drive failure, RAID 6 against drive capacity X ( ....
|
|
Hello,
I need to move about 130 users' home drives to another hard drive on the same server that they are hosted now. What is the best way to do this without having to go into each one by one?
The users are scattered in different OU's.
Started by Rob on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at serverfault):
Just stop the share on the old drive....
It's the best way, but if you're using the GUI, you can hold down Ctrl and select multiple users (or shift the permissions or otherwise block access to the old share - in a way that's easy to undo.
|
Ask your Facebook Friends
|
Possible Duplicate:
Free Windows ISO Mounting Software
does windows 7 have a way to bind a .iso to a drive?
Answer Snippets (Read the full thread at superuser):
No, you can't do.
Virtual Clone Drive is a popular option.
You'll need a third-party tool.
|
|
I'm getting ready to release a tool that is only effective with regular hard drives, not SSD (solid state drive). In fact, it shouldn't be used with SSD's because it will result in a lot of read/writes with no real effectiveness.
Anyone knows of a way...
Started by smartins on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
We did this with larger....
Another.
You probably could use some characteristics of the drive (latency, speed, size), though this won't be accurate for all drives.
This also means that there is no general way to detect what they are.
|
|
More or less what it says on the tin: is there an (easy) way in Python to list all the currently in-use drive letters in a windows system?
(My google-fu seems to have let me down on this one.)
Related:
Enumerating all available drive letters in Windows...
Started by Electrons_Ahoy on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Import win32api drives = win32api.GetLogicalDriveStrings() drives = drives.split('\000') print drives
Adapted from: http://www.faqts.com/knowledge_base/view.phtml/aid/4670
Without using any external libraries, if that matters to ....
|
|
I am creating a program that allows the user to select a drive letter from a combo box. I am debating between populating the box using a list or an array. What is the best and most efficient way to do this?
Started by Scott Boettger on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Pretty simple:
ComboBox cb = new ComboBox(); string[] drives = Environment.GetLogicalDrives(); foreach (string drive in drives) { cb.Items.add(drive); }.
Hardly going to make a difference what way you do it.
|
|
Possible Duplicate:
Expand Windows Server 2008 RAID 5 array
Hello there!
Is there any way to extend my Windows Server 2008 R2 software RAID5 volume by another drive or am I bound to recreate that volume from scratch?
Thanks for your attention.
Started by Artem Tikhomirov on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
And then see what happens if you try to add another drive..
|
|
I'm not looking to relocate the database to another server entirely, but just move the data file(s) and log file to another drive with more space. I've seen conflicting directions on how to do this, so I'm looking for the recommended proper way of doing...
Started by Kilhoffer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
But way.
Another way - detach database files (database->tasks->detach), move them to new drive and then attach again.
In the example above, it moves the MDF and LDF files to the D: drive.
To store.
|
|
I know that the following should work:
Environment.GetEnvironmentVariable("windir", EnvironmentVariableTarget.Machine)
My problem with this call is that if for some reason someone decided to remove the "windir" Env Var , this won't work.
Is there an even...
Answer Snippets (Read the full thread at stackoverflow):
So if you need a secure way to get((int)size); GetWindowsDirectory(sb, size); return sb.ToString(); }
So if you really need the drive.
Drive, but by using "windir" you'll get the windows folder.
|