Filed under: notes/General
I made a mistake by deleting a directory that I had burnt into a CD-ROM without checking the burning result. The CD-ROM turned out to be broken, so I lost the directory with all the files in it. I tried several commercial recovery tools I could find, they all say they could see the deleted files, but none of them could show me the directory structure and original file names. I was then refered to this freeware (the newer version is no longer freeware though) that could show the directory structure and file names! The limitation seems to be inability
Drive Rescue by Alexander Grau
Version 1.9c
Google around to find place where you can still download this old version, or pay for the newest version. The original website is at http://home.arcor.de/christian_grau/, and the supposedly new website is at http://63.141.194.5/rescue/.
Filed under: jp/General
ホリエモン事件の報道を見ていると、おかしいなと思います。
ホリエモンがほぼ明らかに法律を破ったのですが、これと負けないぐらいおかしいのはその事件についての多くのコメントである。すべての報道はほぼ同じ方向に向かってホリエモンを非難した。ホリエモンを買ったある人は取材に対して本を買った人として「裏切られた」とコメントしている。何がそんなにえらそうに裏切られたというのか。私もホリエモンの本を買っているが、別に裏切られたと思っていない。悪いことは悪いことであるが、最近(?)の日本では悪いことをしたらそのした人のすべてが否定される傾向があるのではないか。ホリエモンは粉飾決算などの悪いことをしたから、本を書いたことも含めて彼のすべてが否定されてしまう報道ばかりされている気がして、おかしいと思っている。
ホリエモンの本を買ったことについて例としてあげると、やはり日本ははやりの社会である。ホリエモンがはやっているから本を買ってしまうというパターンだから、ホリエモンが逮捕されると裏切られたと感じる。私はホリエモンが言っていることに興味があってその本を買ってもっと知ろうと思ったので、彼はどうなったとしても自分は裏切られたなんて思うことはない。彼のすべてを否定するのはあまりにも自己中心であり偉そうな行為であるので、彼が悪いことをしたことはほぼ間違いないとなっていても、何か彼のいい面もあるはず。
今日は英雄で、明日は非国民。これはまさによくある報道のパターンです。これは日本国民の問題ではなく、報道だけの問題であることを信じたい。悪いことをした人のすべてを否定するのは偽善者である、そうすることで自分の過ちを目立たなくすることができるからです。
Filed under: jp/General
‘
‘パブリックフォルダからOutlook予定表をコピーする
‘
‘このスクリプトはコピーする前にコピー先の予定表をまずすべて削除するので、
‘ご注意ください
‘
‘メイン
OPTION Explicit
‘Global declarations
Dim intOpMode ‘value returned from intParseCmdLine()
‘constants
‘********************************************************************
‘********************************************************************
‘ ここでユーザ設定をしてください
‘********************************************************************
‘********************************************************************
‘ コピー元とコピー先を設定してください
‘コピー元
CONST SRCFOLDER_PARENT=”パブリック フォルダ”
CONST SRCFOLDER_CHILD=”すべてのパブリック フォルダ”
CONST SRCFOLDER=”MALTech”
‘コピー先
CONST DSTFOLDER_PARENT=”メールボックス – Siboro Arnold P.”
CONST DSTFOLDER=”予定表”
‘ 今日より何日前からの分をコピーするか指定してください
CONST DAYSBEFORE=14
‘********************************************************************
‘********************************************************************
CONST CONST_ERROR = 0
CONST CONST_WSCRIPT = 1
CONST CONST_CSCRIPT = 2
Const CONST_SHOW_USAGE = 3
Const CONST_NORMAL = 4
Const CONST_OVERWRITE = 5
Const CONST_PROMPT = 6
‘スクリプティングホストはCScriptであることを確認する
VerifyHostIsCscript()
‘Parse the command line
intOpMode = intParseCmdLine()
Select Case intOpMode
Case CONST_SHOW_USAGE
Call ShowUsage()
Case CONST_NORMAL, CONST_OVERWRITE, CONST_PROMPT
Appointments(intOpMode)
Case Else ‘Default — should never happen
Call Wscript.Echo(“Error occurred in passing parameters.”)
End Select
‘メイン終了
‘********************************************************************
‘*
‘* Sub VerifyHostIsCscript()
‘*
‘* Purpose: Determines which program is used to run this script.
‘*
‘* Input: None
‘*
‘* Output: If host is not cscript, then an error message is printed
‘* and the script is aborted.
‘*
‘********************************************************************
Sub VerifyHostIsCscript()
ON ERROR RESUME NEXT
Dim strFullName, strCommand, i, j, intStatus
strFullName = WScript.FullName
If Err.Number then
Call Wscript.Echo( “Error 0x” & CStr(Hex(Err.Number)) & ” occurred.” )
If Err.Description “” Then
Call Wscript.Echo( “Error description: ” & Err.Description & “.” )
End If
intStatus = CONST_ERROR
End If
i = InStr(1, strFullName, “.exe”, 1)
If i = 0 Then
intStatus = CONST_ERROR
Else
j = InStrRev(strFullName, “\”, i, 1)
If j = 0 Then
intStatus = CONST_ERROR
Else
strCommand = Mid(strFullName, j+1, i-j-1)
Select Case LCase(strCommand)
Case “cscript”
intStatus = CONST_CSCRIPT
Case “wscript”
intStatus = CONST_WSCRIPT
Case Else ’should never happen
Call Wscript.Echo( “An unexpected program was used to ” _
& “run this script.” )
Call Wscript.Echo( “Only CScript.Exe or WScript.Exe can ” _
& “be used to run this script.” )
intStatus = CONST_ERROR
End Select
End If
End If
If intStatus CONST_CSCRIPT Then
Call WScript.Echo( “Please run this script using CScript.” & vbCRLF & _
“This can be achieved by” & vbCRLF & _
“1. Using “”CScript Outlook.vbs arguments”" for Windows 95/98 or” _
& vbCRLF & “2. Changing the default Windows Scripting Host ” _
& “setting to CScript” & vbCRLF & ” using “”CScript ” _
& “//H:CScript //S”" and running the script using” & vbCRLF & _
” “”Outlook.vbs arguments”" for Windows NT/2000.” )
WScript.Quit
End If
End Sub
‘********************************************************************
‘*
‘* Function intParseCmdLine()
‘*
‘* Purpose: Parses the command line.
‘*
‘* Inputs: None
‘*
‘* Output: Constant value “mode” as entered in command line.
‘*
‘********************************************************************
Private Function intParseCmdLine()
ON ERROR RESUME NEXT
Dim strFlag
‘Set strFlag to first arg
If Wscript.Arguments.Count > 0 Then
strFlag = Wscript.arguments.Item(0)
End If
‘No arguments have been received
If IsEmpty(strFlag) Then
intParseCmdLine = CONST_NORMAL
Exit Function
‘Check if the user is asking for help or is just confused
Elseif (strFlag=”help”) OR (strFlag=”/h”) OR (strFlag=”\h”) OR (strFlag=”-h”) _
OR (strFlag = “\?”) OR (strFlag = “/?”) OR (strFlag = “?”) OR (strFlag=”h”) Then
intParseCmdLine = CONST_SHOW_USAGE
Exit Function
Elseif (strFlag=”/O”) Then
‘Overwrite mode.
intParseCmdLine = CONST_OVERWRITE
Exit Function
Elseif (strFlag=”/P”) Then
‘prompt user mode.
intParseCmdLine = CONST_PROMPT
Exit Function
Else
‘default… should never get here.
intParseCmdLine = CONST_SHOW_USAGE
End If
End Function
‘********************************************************************
‘*
‘* Sub ShowUsage()
‘*
‘* Purpose: Shows the correct usage to the user.
‘*
‘* Input: None
‘*
‘* Output: Help messages are displayed on screen.
‘*
‘********************************************************************
Sub ShowUsage ()
Wscript.Echo “”
Wscript.Echo “Imports appointments from one Outlook calendar to another.”
Wscript.Echo “Please send bug reports/questions/comments to alaughlin@this.org”
Wscript.Echo “”
Wscript.Echo “SYNTAX:”
Wscript.Echo ” Outlook.vbs [/?] | [/O] | [/P]“
Wscript.Echo “”
Wscript.Echo “PARAMETER SPECIFIERS:”
Wscript.Echo “”
Wscript.Echo ” No parameters: Appointments are added to destination calendar.”
Wscript.Echo “”
Wscript.Echo ” One parameter is accepted. Additional parameters are ignored.”
Wscript.Echo “”
Wscript.Echo ” /? Displays help dialog.”
Wscript.Echo “”
Wscript.Echo ” /O Overwrite mode. Overwrites appointments in the “
Wscript.Echo ” destination calendar that have the same date and time.”
Wscript.Echo “”
Wscript.Echo ” /P Prompts user to overwrite when a conflicting appointment “
Wscript.Echo ” is found in the destination calendar.”
Wscript.Echo “”
Wscript.Echo “”
End Sub
‘********************************************************************
‘*
‘* Private Function Appointments()
‘*
‘* Purpose: Core functionality. Copies all appointments based on the
‘* mode selected by the user.
‘*
‘* Inputs: Desired mode (normal copy, prompt or overwrite).
‘*
‘* Outputs: None.
‘*
‘********************************************************************
Private Function Appointments(intMode)
‘Declarations
Dim objOutlook ‘Outlook application object
Dim objNameSpace ‘Only namespace is MAPI
Dim objCalendarFolderSrc ‘The source calendar folder selected by the user
Dim objCalendarFolderSrcParent ‘The source calendar folder selected by the user
Dim objCalendarFolderSrcChild ‘The source calendar folder selected by the user
Dim objCalendarFolderDest ‘The destination calendar folder selected by the user
Dim objCalendarFolderDestParent ‘The destination calendar folder selected by the user
Dim objItemsSrc ‘Items collection in source calendar
Dim objItemsDest ‘Items collection in destination calendar
Dim objApptsSrc
‘The script below obtains a reference to the Outlook folder containing the
‘appointments the user would like to import.
‘Outlook vbScript sucks cause it won’t see constants.
Const olFolderCalender = 9
Const olAppointmentItem = 1
‘Create application and namespace objects.
Set objOutlook = CreateObject(“Outlook.application”)
Set objNameSpace = objOutlook.GetNameSpace(“MAPI”)
‘
‘The user picks the folder they want to import appointments from.
‘ We’ll check the folder’s type to ensure it contains only appointment type items.
‘
‘
‘コピー元のフォルダ
‘
‘MsgBox “On the next screen, select the source calendar.”, vbOKOnly, “Source calendar”
‘Set objCalendarFolderSrc = objNameSpace.PickFolder
Set objCalendarFolderSrcParent = objNameSpace.Folders(SRCFOLDER_PARENT)
Set objCalendarFolderSrcChild = objCalendarFolderSrcParent.Folders(SRCFOLDER_CHILD)
Set objCalendarFoldersrc = objCalendarFolderSrcChild.Folders(SRCFOLDER)
While objCalendarFolderSrc.DefaultItemType olAppointmentItem
MsgBox “The selected folder is not a calendar type folder.” + vbCRLF + “Select again.”, vbOKOnly, “Error”
Set objCalendarFolderSrc = objNameSpace.PickFolder
Wend
‘
‘コピー先のフォルダ
‘
‘MsgBox “On the next screen, select the destination calendar.”, vbOKOnly, “Destination calendar”
‘Set objCalendarFolderDest = objNameSpace.PickFolder
Set objCalendarFolderDestParent = objNameSpace.Folders(DSTFOLDER_PARENT)
Set objCalendarFolderDest = objCalendarFolderDestParent.Folders(DSTFOLDER)
While objCalendarFolderDest.DefaultItemType olAppointmentItem
MsgBox “The selected folder is not a calendar type folder.” + vbCRLF + “Select again.”, vbOKOnly, “Error”
Set objCalendarFolderDest = objNameSpace.PickFolder
Wend
‘Use the Items property to return the Items object of a MAPIFolder object.
Set objItemsSrc = objCalendarFolderSrc.Items
Set objItemsDest = objCalendarFolderDest.Items
‘
‘This section will import the appointments.
‘
‘counters
Dim x
Dim i
Dim totalitems
‘If destination calendar is empty, no comparison is necessary so we’ll default to normal mode
If objItemsDest.count Date()-DAYSBEFORE Then
WScript.Echo(“Copying appointment ” & x & “/” & totalitems & ” ” & objItemsSrc.Item(x).start)
Set objApptsSrc = objItemsSrc.Item(x).copy
objApptsSrc.move objCalendarFolderDest
Else
WScript.Echo(“Skipping appointment ” & x & “/” & totalitems & ” because it’s ” & FormatNumber(Date()-objItemsSrc.Item(x).start,0) & ” days old.”)
End if
Next
‘MsgBox “Task complete.”, vbOKOnly, “Task complete”
WScript.Echo(“Task complete.”)
‘—-> FINISH THIS
Case CONST_PROMPT
WScript.Echo(“Prompt mode has yet to be implemented.”)
Case Else ‘Default — should never happen
WScript.Echo(“Critical error… that sucks”)
End Select
‘Clean up
Set objOutlook = Nothing
Set objNameSpace = Nothing
Set objCalendarFolderSrc = Nothing
Set objCalendarFolderDest = Nothing
Set objItemsSrc = Nothing
Set objItemsDest = Nothing
Set objApptsSrc = Nothing
End Function
Filed under: notes/General
placetoby.com
osobadeai.com
ligareetra.com
vestpills.info
globalsuperbargains.com
anamegano.com
aboy.info
VI@GR@
Ci@lis
stronglength.biz
perledb.com
super-cubic.com
ligareetra.com
finalruncollectibles.info
belldaviselder.info
Viagr@
sweet-more.com
marinedot.info
jtonic.com
reach-the-goal.com
fivelove.info
dejx.com
atozoem.com
pirlantakozmetik.com
mariatt.net
bfzu.com
aboy.info
sinclued.com
deai-style.net
l-conv.com
dropinone.com
snnworld.info
ldear.com
punpun1.net
sendhciai.com
canalwago.com
2008com.net
getoohot.com
deai-style.net
sdriver.net
sclass.cx
watch-worldonline.info
Buy OEM Software
greateg.info
pmp.to
gyakuten6.net
\/iagra
i-0u.com
otakkujp.net
00-love1.com
00-love2.com
00-love3.com
00-love4.com
00-love5.com
1191.jp
120abc.net
2006soft.net
3garant.com
51610.net
80607.jp
Availability: Available for INSTANT download!
WQAD.ORG
Yahoo! Groups SpamGuard has detected that the attached message to the
aacom.info
agk-777.net
ahcom.info
ajahal.com
alesandis.com
all-love-pillzz.com
all-soft-for-you.com
allsoftoem.com
allyineworld.com
andreanh.com
aneane2.net
arigatouo.net
ascontan.com
awesome-watch4u.info
awg1.net
awg2.net
awg3.net
awg4.net
awg5.net
awg6.net
beacclue.com
beratont.biz
berinselan.com
bestratewww1.com
bettercyberage.com
beyourmatethathelps.com
biotechpatentattorney.info
biz-station.org
blazeblow.net
bmuv.com
bobbiesbathandproducts.com
bqbu.com
bulbulyer.com
byepathhg.com
c-night1.com
ca.geocities.com/dillie6918maren88932/
cangetgirl.net
cantralk.com
ceahere.com
chabby-funk.com
championboatsfirstmate.info
cherry-12.com
circlemsoftware.com
closeibe.com
collection-movie.com
coloradoheartscan.info
cometlove.info
cosmshop.com
costslimdown.com
createourplanet.com
crustyfn.com
ctqo.com
ctqo.com
cute910.net
deai-ciao.net
deai-hg.com
deai-style.net
deaikoubou4.com
dealswelongfor.com
desorcade.com
detectoroftopbuys.com
detesthn.com
diablokustomz.info
doetave.com
dreamofthebestplanet.com
dynamite-wave.com
dynamite-wave.com
ecdrf.com
ecfrv.com
ecologyglobal.info
elinabare.com
elinabare.com
esauratno.com
estorebigidea.org
f-day1.net
f-day3.net
fairy-l1.com
fairy-l2.com
fairy-l3.com
feelliket.com
feelslig.com
feisgc.com
ferrurne.com
finallythingswelookfor.com
flameblow.net
flavinefj.com
fossedhb.com
futuremakes.com
genuinewatchzforme.info
getluck2.net
givemebackmy.com
globalpaywap.info
gobadirect.com
gofortopstore.com
goldi33.com
goodietogainhere.com
greatadvance.com
greatadvance.com
greatffall.info
greesname.com
guudbuy.com
guudbuy.com
gyakuten5.net
h1gher.net
heavensgift.st
herbalsupersite.com
himitsuno-sasayaki5.net
hipgal.net
homeforsweetcare.com
homeweb.cn
http://au.geocities.com/robinet19407brigitte80289/
http://uk.geocities.com/jorrie66857maurie65076/
i-0u.com
inteeminya.com
invitation.sms.ac
ipekpismaniye.info
iropoi.com
javvin.biz
joyce707.com
jumpb2.net
jumpb8.net
kidskooltime.info
koi-road1.com
koi-road2.com
kool-king.net
l1fed33r.com
landonjoyplanet.com
learningusefultechnology.com
lily-adolescence.cx
lionelme.com
lithografeio.info
livedear2.com
livedear3.com
logomarka.net
lonefenix.info
look92.net
look93.net
loopholekc.com
loriptop.info
love-meets.com
love2nd1.com
lovegal1.net
lovegal2.net
lovegal3.net
lovegal4.net
lovegal5.net
lovegal6.net
lovegal7.net
lovegal8.net
lovinyou.net
lovlyqueen.cx
luckylady.cx
m-inou.com
makesta.com
manzokuda.com
megabazooka.com
menzielh.com
mght.org
mission-of-slot.net
misspolemation.com
mitrigia.com
modofoodusa.info
monkigroup.com
monkigroup.com
morozware.com
moveforwardandsee.com
mustweartrends.com
myherb.biz
mynaturepills.com
nanpara1.net
nanpara2.net
nanpara3.net
nanpara4.net
nanpara5.net
neckthu.com
news-caster.net
nicproc.net
njcoverings.info
non-sugar.com
northfloridaterm.com
notault.com
nyon-matsuri.com
o9sama1.com
o9sama2.com
o9sama3.com
o9sama4.com
oarlocken.com
odo.com.cn
oh-my-lover.com
ompoun.com
oneblingwatchsforme.info
onlinecasino-center.com
onnano.net
otakkujp.net
ourperfectrelaxation.com
oursavingsessential.com
pacesipta.com
pathsilicone.info
paytvfree.info
picktopgoodie.com
picturesofmemeyou.com
portuniy.com
ravenbhelpharma.info
refulduri.com
reladesgo.com
renai-h1.com
russelia.com
s-bj.net
savehomesite.com
savingtheworld.info
sawmaden.info
sclass.cx
sdfpihjo.info
seasorics.com
seesproof.com
shoppingfavelist.com
shops2view.info
skylineandnewvision.com
sopolarin.com
spaceforwish.com
storestory.net
super223.com
superbuzzmyfavorite.com
superdealmessenger.com
supergoodsoutlet.com
superpills.net
supersaleessential.com
surfinais.com
sweet-more.com
technologytosucceedhere.com
tellaweron.com
thebeargrounds.com
theceltictimes.com
thegenuinewatches4u.info
theygrabyou.com
timeformoregreatchange.com
tirol-festival.net
tonashiba1.net
tonashiba2.net
topbuysshow.com
travelodgeoflakegeorge.info
trendsofebiz.org
uk.geocities.com/amigo10502
v-888-v.com
vastarro.com
veansider.com
vector4drive.com
vibrantbusiness.biz
victorianshade.info
villatoda.com
wagwagbl.com
wantthatwalky.com
washyde.com
waytocaptureallthese.com
webchu.com
wheritoi.com
worldforustoexplore.org
y-falconry.net
yamahime.com
yamahime.com
your-herbals-250.com
yourforless.com
youwilllovethismoment.com
ytst.info
zoror.info
zoroy.info


