The ancient Minaret of Jam in Afghanistan, 2009. It does have a significant lean but there have been efforts to stabilise the tower. This quote from the Lonely Planet Afghanistan Travel Guide (1st Edition, published 2007) is what really got me interested in going to Afghanistan…
Crossing the centre of the country along the spine of the Hindu Kush is one of the most remote and adventurous journeys it’s possible to do in Afghanistan, but one that rewards travellers with a continuous parade of stunning mountain scenery. Travelling from Bamiyan, the route travels through the Hazarajat over a series of high mountain passes to the heart of the medieval Ghorid empire. This is a land of tiny villages, marginal agriculture, and nomad caravans with their camels and yurts. At its centre lies the fabled Minaret of Jam, hidden from foreign eyes for centuries, and even now is accessible to only the hardiest travellers.
The town of Hpa An in Myanmar, surrounded by a karst landscape, offers opportunities to visit the caves in that region. Many caves are used for Buddhist shrines, and some are used for navigation. Here, nearly 20 kilometres from Hpa An, fishermen are shown outside a cave entrance that runs through to the other side of the karst hills.
When booting into Windows, the OS sometimes does not reconnect mapped network drives even though the mapping is configured with the “Reconnect at sign-in” option. This is due with various timing constraints of resources during boot.
Although there are free Third Party software available that can automatically reconnect your mapped network drives, I would rather be able to do this using built-in tools than add more unnecessary software to my system. I’ve therefore written a Command Prompt script using the “net use” command. Not the prettiest of code but it does the job. Tested in Windows 10 Pro 64-bit.
The script was saved as a .CMD batch file which is executed by twice using Task Scheduler at user log on; one in non-admin and the other in admin mode. This allows mapped drives to be visible to those applications running in non-admin and also to those applications running in admin modes.
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
TITLE Mapping network drives
@ECHO Please wait whilst we reconnect your network drives.
SET /A trueloop=%loopvalue%-1
IF "%counter%" EQU "%loopvalue%" (
ECHO Connection to D:\ drive timed-out
ECHO Attempt %counter% of %trueloop% to D:\ drive
TIMEOUT /t 5 /NOBREAK >NUL
IF EXIST D:\NUL (
ECHO Attempt %counter% successful.
NET USE D: \192.168.49.69\Data /PERSISTENT:YES
IF "%ERRORLEVEL%" NEQ "0" IF "%ERRORLEVEL%" NEQ "85" (
SET /A counter=%counter%+1
IF "%neterror%" EQU "0" GOTO Endofscript
SET /P userinput="Errors were found. Do you wish to try again [Y/n] "
IF /I "%userinput%" EQU "y" GOTO Start
IF /I "%userinput%" EQU "" GOTO Start
IF /I "%userinput%" EQU "n" GOTO Endofscript
@ECHO Please wait, script is closing.
TIMEOUT /t 5 /NOBREAK >NUL
@EXIT /B 0
A palm tree at dusk along the Kinabatangan River. This was near an Abai fishing village where I stayed overnight. Plenty of mosquitoes here, and extremely glad that I had brought along my mosquito net. Sabah, Borneo, Malaysia. Photo taken in March 2008.