Posts: 69247
Threads: 3759
Joined: August 2, 2009
Reputation:
259
RE: Time to build a new computer ...
August 6, 2014 at 6:58 pm
(August 6, 2014 at 10:00 am)Aractus Wrote: Right so now my D: (my newest HDD in this conp.) didn't load today. I'm hoping it's not actually dead, but I'll see tomorrow when I set up my new PC. I already have 1 dead HDD I don't want 2! At least before I have a chance to back them up to the 2x brand new HDD's...
I just had a HD crash. It was a SATA drive and I got an external case for it which converts it to a USB drive. I was able to access the drive and recover my data files. Apparently, only the boot sector was fried.
Posts: 30974
Threads: 204
Joined: July 19, 2011
Reputation:
141
RE: Time to build a new computer ...
August 6, 2014 at 7:04 pm
(August 6, 2014 at 6:58 pm)Minimalist Wrote: (August 6, 2014 at 10:00 am)Aractus Wrote: Right so now my D: (my newest HDD in this conp.) didn't load today. I'm hoping it's not actually dead, but I'll see tomorrow when I set up my new PC. I already have 1 dead HDD I don't want 2! At least before I have a chance to back them up to the 2x brand new HDD's...
I just had a HD crash. It was a SATA drive and I got an external case for it which converts it to a USB drive. I was able to access the drive and recover my data files. Apparently, only the boot sector was fried.
If that's the case, it's most likely just fine and only needs the boot loader refreshed.
Posts: 14932
Threads: 684
Joined: August 25, 2008
Reputation:
143
RE: Time to build a new computer ...
August 7, 2014 at 2:59 am
I bought a new computer the other day. A raspberry pi model B+. Cost $40 ($80 if you count the power supply, sdcard, wifi dongle, and case).
Posts: 20476
Threads: 447
Joined: June 16, 2014
Reputation:
111
RE: Time to build a new computer ...
August 7, 2014 at 3:49 am
(August 7, 2014 at 2:59 am)Tiberius Wrote: I bought a new computer the other day. A raspberry pi model B+. Cost $40 ($80 if you count the power supply, sdcard, wifi dongle, and case).
I just got mine delivered today!
copying the os as we speak!
Is this a co-incidence or (somebody insert x-files intro music)!
No God, No fear.
Know God, Know fear.
Posts: 647
Threads: 24
Joined: July 28, 2013
Reputation:
14
RE: Time to build a new computer ...
August 7, 2014 at 8:14 am
(August 7, 2014 at 2:59 am)Tiberius Wrote: I bought a new computer the other day. A raspberry pi model B+. Cost $40 ($80 if you count the power supply, sdcard, wifi dongle, and case).
I love the Pi's, I've had one since the model B had 256mb. I mostly use it as a XBMC media server, but have used it for playing with python. I also have an Arduino Mega that's fun to play with.
Posts: 4484
Threads: 185
Joined: October 12, 2012
Reputation:
44
RE: Time to build a new computer ...
August 7, 2014 at 9:28 am
(This post was last modified: August 7, 2014 at 10:35 am by Aractus.)
(August 6, 2014 at 4:31 pm)Insanity Wrote: That seriously sucks though. Dead HDD's are a pain in the ass. Nah it wasn't dead, somehow the SATA cable came unplugged at the motherboard which is odd since I didn't unplug any SATA cables at the motherboad (all I did was unplug a diff HDD at the HDD side). Anyway I decided to set up the two 4 gb drives as a single mirrored volume. I've already backed up my original C drive to it (160GB).
Here's a picture or two...
So at the very bottom is my 120GB SSD (my C drive), the next two are my two new 4GB HDD's as a mirrored volume D drive, the next two are the two 2 GB HDD's in my previous PC which will have to be backed up and the final HDD which is in a 5.25" tray and always has been is my 160GB C drive from the old PC - it's now been backed up and removed and I've installed a bluray drive in there.
Nice and spacious without having to crowd the HDD's, even with 5 of them in there!
I've also installed irfanview and my image-conversion shell extension which I wrote many years ago now (here's the updated version, although the old version will still work it just won't automatically find Irfanview on a 64bit system):
Code: ' (c) 2006-2014 aractus.com, this file must not be sold, you may distribute it
' freely so long as it remains unmodified with all internal documentation.
'
' This program is designed for use with IrfanView. It will add or remove
' shell extensions for converting between several popular image formats.
' If required you could add more to the list.
' In no way am I affiliated with IrfanView.
'
' It should work on any windows system x86/64bit that supports IrfanView. It
' Will work with Windows 2000 - Windows 7, I'm unsure about other versions
' but it only requires Windows Script Host (WScript) on the system. In theory
' it will work on Win9x so long as the Script Host Version supports the script.
'
' Installation:
' 1. Double click on i_conv.vbs to install/uninstall
' 2. Run "WScript.exe i_conv.vbs" from a command prompt or the run dialogue.
' 3. Run "WScript.exe i_conv.vbs /s" to achieve a silent installation.
'
' Usage:
' Right click a picture with a supported format (by default BMP, PNG, GIF,
' JPG and ICO) and click "Convert to XXX" Where XXX is desired type.
'
' Notes on installation and uninstallation:
' i_conv.vbs can be run from anywhere to install so long as IrfanView is
' installed. If IrfanView isn't found the script will not install the
' extensions, but will uninstall if asked. If IrfanView was not installed
' correctly, or if it isn't found automatically with installation simply
' copy this file to the IrfanView folder and run from there.
'
' When this file is run it will automatically place a copy into your
' IrfanView folder (where possible), and you can delete any other installation
' point as it will not be needed.
'
' You can uninstall the shell extensions through "Add or Remove Programs" /
' "Programs and Features" in Control Panel. Uninstallation will not delete
' i_conv.vbs, delete the file manually if required.
'
' If you prefer you can use /silent instead of /s. Silent installations
' suppress error messages if it cannot be installed.
'
' Other Notes:
' This will also write a configuration file for use exclusively with the shell
' extensions (JPEG quality, etc). You can modify it at any time. It is put in a
' new folder named "i_conv" in the main IrfanView installation folder.
' --------------------------------------------------------------------------
' Define variables.
Option Explicit
On Error Resume Next
Dim WshShell,fso,a,f,i,j,o,p,p2,t,u,v,w:w=0
Set WshShell=WScript.CreateObject("WScript.Shell")
Set fso=CreateObject("Scripting.FileSystemObject")
p=Left(WScript.ScriptFullName,Len(WScript.ScriptFullName)-Len(WScript.ScriptName))
If Wscript.Arguments.Count=1 Then
If Wscript.Arguments(0)="REM" Then
' This is invoked from "Add or Remove Programs".
v=MsgBox("Are you sure you want to remove the image-conversion shell extensions?",292,"Remove shell extensions confirmation")
If v=7 Then WshShell=Nothing:Wscript.Quit(1)
w=7
ElseIf UCase(Wscript.Arguments(0))="/S" Or UCase(Wscript.Arguments(0))="/SILENT" Then
' If We are running a silent install preset variables.
w=6
Else
' We have invalid command parameters.
ErrHndlr()
End If
' This is the part used for conversion, it's extremely simple - it takes two
' variables, one is a file name, the other a file extensions - such as BMP and
' JPG, and tells IrfanView to convert file name to file format, after checking
' if destination file exists, and if necessary asking the user whether to
' overwrite or not.
ElseIf Wscript.Arguments.Count=2 Then
t=Wscript.Arguments(0):u=Wscript.Arguments(1)
For i=Len(t) To 2 Step -1
If Mid(t,i,1)="." Then Exit For
Next'i
If i=1 Then ErrHndlr()' We have invalid command parameters.
v=Right(t,Len(t)-i)
If v=UCase(v)Then u=UCase(u)
u=Left(t,i)&u
If fso.fileexists(u) Then
v=MsgBox("Destination file exists, ok to overwrite?",292,"Overwrite confirmation")
If v=7 Then WshShell=Nothing:Wscript.Quit(1)
End If
WshShell.Run(""""&p&"i_view32.exe"" """&t&""" /convert="""&u& """ /ini="""&p&"i_conv"""),1
Set WshShell=Nothing
Wscript.Quit(1)
ElseIf Wscript.Arguments.Count<>0 Then
' We have invalid command parameters.
ErrHndlr()
End If
' Everything after this is only run if you open the file directly. This means
' you either want to set up the shell extensions, or remove them. We check
' first for IrfanView, and if we can't find it then installing the shell
' extensions will be disabled.
If fso.fileexists(p&"i_view32.exe") Then
If UCase(WScript.ScriptFullName)<>UCase(p&"I_CONV.VBS") Then
' If IrfanView is found in the folder this file is run from, and i_conv.vbs
' is incorrectly named, create a usable copy called i_conv.vbs.
' Otherwise we are sweet to go!
fso.CopyFile WScript.ScriptFullName,p&"i_conv.vbs"
End If
Else
' IrfanView wasn't found in the folder that i_conv.vbs was run from, so let's
' search for it.. best place to look first is in the registry, IrfanView
' doesn't have it's own key under HKLM\SOFTWARE, so we'll see if it's
' uninstall entry will point the way.
p=WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\IrfanView\UninstallString")
p=Left(p,Len(p)-16)
p2=WshShell.RegRead("HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\IrfanView\UninstallString")
p2=Left(p2,Len(p2)-16)
' If IrfanView is found then all we need do is put i_conv.vbs into its folder.
' We check two locations for 64bit Windows.
If fso.fileexists(p&"i_view32.exe") Then
fso.CopyFile WScript.ScriptFullName,p&"i_conv.vbs"
ElseIf fso.fileexists(p2&"i_view32.exe") Then
p=p2
fso.CopyFile WScript.ScriptFullName,p&"i_conv.vbs"
' We still haven't found IrfanView... so the other place to look is in the
' computer's Program Files folder. We won't find it if the user has installed
' to a personalized location.
' As above we will need to put i_conv.vbs in the IrfanView folder.
ElseIf fso.fileexists(WshShell.Environment("PROCESS")("ProgramFiles")&"\irfanview\i_view32.exe") Then
p=WshShell.Environment("PROCESS")("ProgramFiles")&"\IrfanView\"
fso.CopyFile WScript.ScriptFullName,p&"i_conv.vbs"
ElseIf fso.fileexists(WshShell.Environment("PROCESS")("ProgramFiles(x86)")&"\irfanview\i_view32.exe") Then
p=WshShell.Environment("PROCESS")("ProgramFiles(x86)")&"\IrfanView\"
fso.CopyFile WScript.ScriptFullName,p&"i_conv.vbs"
Else
' IrfanView was not found. Ask if user wants to uninstall extensions and exit.
' Unless we're meant to be doing a silent install, in which case we'll just
' end without alerting the user.
If w=6 Then
WshShell=Nothing:Wscript.Quit(0)
ElseIf w<>7 Then
v=MsgBox("IrfanView not found. Would you like to remove the shell extensions?",292,"Remove shell extensions")
If v=7 Then WshShell=Nothing:Wscript.Quit(1)
End If
End If
End If
' OK we're now ready to add or remove the shell extensions!
' Define the image formats we are going to use - I've included 5 as default,
' feel free to add more just remember to change the declaration of the "q"
' array to the correct size. It is important that if you want to do this to
' first remove the shell extensions before modifying the file.
Dim q(4):q(0)="bmp":q(1)="gif":q(2)="ico":q(3)="jpg":q(4)="png"
' Ask user for input, unless we already know to install/uninstall that is.
If w=0 Then w=MsgBox("Do you want the image-conversion shell extensions?",292,"Enable/Disable shell extensions")
' Write a custom .ini file for use with conversions, you may customize this
' but it's probably easier to edit the .ini once it's installed.
If w=6 Then
o="[PNG]"&vbCrLf&"CompressionLevel=6"&vbCrLf&"[JPEG]"&vbCrLf&"Save Quality=85"&vbCrLf&"Save Progressive=0"&vbCrLf&_
"Save Grayscale=0"&vbCrLf&"KeepExif=0"&vbCrLf&"KeepCom=0"&vbCrLf&"KeepIptc=0"&vbCrLf&"[MultiGIF]"&vbCrLf&_
"SaveInterlaced=0"&vbCrLf&"SaveTransparent=0"&vbCrLf&"UsePalette=0"&vbCrLf&"Transparency=0"
fso.CreateFolder(p&"\i_conv"):fso.DeleteFile(p&"\i_conv\i_view32.ini")
Set f=fso.CreateTextFile(p&"\i_conv\i_view32.ini", True):f.Write o:f.Close
Else
' Or delete it if we're uninstalling.
fso.DeleteFile(p&"\i_conv\i_view32.ini")
fso.DeleteFolder(p&"\i_conv")
End If
' Go through the registry and make the necessary changes...
For i=0 To UBound(q)
a=WshShell.RegRead("HKCR\."&q(i)&"\")
If a<>"" Then
a="HKCR\"&a&"\shell\"
For j=0 To UBound(q)
If i<>j Then
t=a&"Convert_to_"&UCase(q(j))&"\"
If w=6 Then
WshShell.RegWrite t,"Convert to "&UCase(q(j))
WshShell.RegWrite t&"command\","WScript.exe """&p&"i_conv.vbs"" ""%d"" "&q(j)
Else
WshShell.RegDelete t&"command\":WshShell.RegDelete t
End If
End If
Next'j
t=a&"Remove_Image_Conversion_Shell_Extensions\"
t="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\i_conv\"
If w=6 Then
WshShell.RegWrite t,""
WshShell.RegWrite t&"DisplayName","Image Conversion Shell Extensions (Removal)"
WshShell.RegWrite t&"UninstallString","WScript.exe """&p&"i_conv.vbs"" REM"
WshShell.RegWrite t&"NoModify",1,"REG_DWORD"
WshShell.RegWrite t&"NoRepair",1,"REG_DWORD"
Else
WshShell.RegDelete t&"NoModify":WshShell.RegDelete t&"NoRepair"
WshShell.RegDelete t&"UninstallString":WshShell.RegDelete t&"DisplayName":WshShell.RegDelete t
End If
End If
Next'i
Set WshShell=Nothing
Wscript.Quit(1)
sub ErrHndlr()
MsgBox "Invalid parameters were given. The only correct user command line is /s or /silent.",16,"i_conv.vbs error"
Set WshShell=Nothing
Wscript.Quit(0)
End Sub
Still works like a charm! If you want to use it paste the code into notepad and save as i_conv.vbs - it can only install if Irfanview is installed, but it will uninstall if asked regardless of whether Irfanview is present.
For Religion & Health see:[/b][/size] Williams & Sternthal. (2007). Spirituality, religion and health: Evidence and research directions. Med. J. Aust., 186(10), S47-S50. -LINK
The WIN/Gallup End of Year Survey 2013 found the US was perceived to be the greatest threat to world peace by a huge margin, with 24% of respondents fearful of the US followed by: 8% for Pakistan, and 6% for China. This was followed by 5% each for: Afghanistan, Iran, Israel, North Korea. -LINK
"That's disgusting. There were clean athletes out there that have had their whole careers ruined by people like Lance Armstrong who just bended thoughts to fit their circumstances. He didn't look up cheating because he wanted to stop, he wanted to justify what he was doing and to keep that continuing on." - Nicole Cooke
Posts: 67189
Threads: 140
Joined: June 28, 2011
Reputation:
162
RE: Time to build a new computer ...
August 7, 2014 at 10:28 am
Sweet, showin off our rigs.
I am the Infantry. I am my country’s strength in war, her deterrent in peace. I am the heart of the fight… wherever, whenever. I carry America’s faith and honor against her enemies. I am the Queen of Battle. I am what my country expects me to be, the best trained Soldier in the world. In the race for victory, I am swift, determined, and courageous, armed with a fierce will to win. Never will I fail my country’s trust. Always I fight on…through the foe, to the objective, to triumph overall. If necessary, I will fight to my death. By my steadfast courage, I have won more than 200 years of freedom. I yield not to weakness, to hunger, to cowardice, to fatigue, to superior odds, For I am mentally tough, physically strong, and morally straight. I forsake not, my country, my mission, my comrades, my sacred duty. I am relentless. I am always there, now and forever. I AM THE INFANTRY! FOLLOW ME!
Posts: 20476
Threads: 447
Joined: June 16, 2014
Reputation:
111
RE: Time to build a new computer ...
August 7, 2014 at 9:25 pm
Show us your mouse! Better still, Don't!
Hehe
No God, No fear.
Know God, Know fear.
Posts: 9147
Threads: 83
Joined: May 22, 2013
Reputation:
46
RE: Time to build a new computer ...
August 8, 2014 at 9:43 pm
(August 7, 2014 at 9:28 am)Aractus Wrote: So at the very bottom is my 120GB SSD (my C drive), the next two are my two new 4GB HDD's as a mirrored volume D drive, the next two are the two 2 GB HDD's in my previous PC which will have to be backed up and the final HDD which is in a 5.25" tray and always has been is my 160GB C drive from the old PC - it's now been backed up and removed and I've installed a bluray drive in there.
4GB, 2GB lolwut? Do you use those for backing up today's shopping list?
Posts: 30974
Threads: 204
Joined: July 19, 2011
Reputation:
141
RE: Time to build a new computer ...
August 8, 2014 at 10:48 pm
(August 8, 2014 at 9:43 pm)bennyboy Wrote: (August 7, 2014 at 9:28 am)Aractus Wrote: So at the very bottom is my 120GB SSD (my C drive), the next two are my two new 4GB HDD's as a mirrored volume D drive, the next two are the two 2 GB HDD's in my previous PC which will have to be backed up and the final HDD which is in a 5.25" tray and always has been is my 160GB C drive from the old PC - it's now been backed up and removed and I've installed a bluray drive in there.
4GB, 2GB lolwut? Do you use those for backing up today's shopping list?
I'm guessing he means TB. :p
|