Wine in chroot on 64bit (winetricks workaround) [SOLVED]

Hi,
So, I've managed to install wine into a 32bit chroot running pure 64bit (no multilib).
I've got opengl stuff working for the chroot, but I cannot get winetricks to function.
I've compiled and installed it from aur, but it gives the error "Cannot find wine (wine)".
I need it to install corefonts.
Can somebody point me to how I can just download and install corefonts for wine manually, or better, tell me how I have to setup my chroot for winetricks to recognize my wine install (1.2)!?! Or is this a winetricks bug?
EDIT:
Comment out this part of the winetricks script (line 3810)
#if [ ! -x "`which "$WINE" 2>/dev/null`" ]
#then
#    die "Cannot find wine ($WINE)"
#fi
Last edited by hungerfish (2010-07-19 10:54:11)

The path as should be seen by winetricks:
tom ~  $  WINE=/usr/bin/wine
tom ~  $  echo $WINE
/usr/bin/wine
tom ~  $  schroot -p -- winetricks
Cannot find wine (wine)
And the real path:
WINE=/opt/arch32/usr/bin/wine
tom ~  $  echo $WINE
/opt/arch32/usr/bin/wine
tom ~  $  schroot -p -- winetricks
Cannot find wine (wine)

Similar Messages

  • Installer appears as "blank dos-box type", hangs, anti virus off, firewall off, system win xp 64 bit. all attempts to solve failed. What next?

    installer appears as "blank dos-box type", hangs, anti virus off, firewall off, system win xp 64 bit. all attempts to solve failed. What next?

    Jeff,
    after trying to find, and use screen shot, i tried to access reader
    downloader... instead, found an offline version of reader. after
    installation started getting false reports that appeared as avg pop-ups.
    Within task manager, was able to detect virus / worm running 6 - 8
    services. immediately disconnected my 'net connection. closed all active
    services being run by rogue process. determined it was using two files
    named "lastalive0.dat" and"lastalive1.dat" to determine it's own status...
    upon stopping it's services it controlled, it would soft re-boot to
    resurrect another hijack attempt. tried workaround using secondary boot
    (win 7) to no avail. after two days, i transferred personal data to
    removable media and am in process of installing debian version of linux.
    i thank you for reply and apologize for my tardy response, it was my first
    forum experience
    tim
    On Tue, Mar 31, 2015 at 10:32 AM, Jeff A Wright <[email protected]>

  • Getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit

    Hi,
    I am getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit. I have already tried all option but fail to installation
    an error during the installation of assembly micro soft.vc80.crt

    Hi,
    I am getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit. I have already tried all option but fail to installation
    an error during the installation of assembly micro soft.vc80.crt
    Can you please post summary.txt file here.Below link will help you in finding it.
    http://technet.microsoft.com/en-us/library/ms143702(v=sql.105).aspx
    Also with error you posted I guess it is a known issue .You need to install below package and then continue with fresh installation
    http://www.microsoft.com/en-gb/download/details.aspx?id=15336
    Please make sure before beginning fresh installation you make sure previous failed installation is removed completely.Use add remove program to remove failed SQL Server.If yu still face issue please post summary.txt file here
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Is Adobe acrobat 6.0 CE compatibile with WIN 8.1 Pro 64bit version?

    Is Adobe acrobat 6.0 CE compatibile with WIN 8.1 Pro 64bit version?

    I don't think so.  You will probably not be able to activate that old of a version anyways due to it no longer having a supporting activation server.

  • Can't Install Win 8.1 Pro 64bit

    Hi Guys,
    I just purchase Win 8.1 Pro from the Microsoft Store (AUS). I have created a live usb (selected from the  windows setup options) so that I could do a clean install of the OS on my laptop.
    Each time that I have installed the OS (both clean or upgrade) it automatically installs the 32bit version. When I purchased the OS, it did not specify whether it was bit-specific, so I assumed it would include both bit versions, with an option to select
    during the installation process.
    I know my laptop is capable of running 64bit environment as my previous OS was Win 7 Ult 64bit.
    Does anyone know what to do to either force the setup into installing 64bit, or any other method to get 64bit installed.
    Cheers...

    My understanding is that the download from Microsoft will be the same bitness as the OS you were running when you downloaded it.
    I don't recall the mechanism, but I do believe with a little elbow grease it's possible to get a 64 bit Windows 8.1 download, as I recall reading another forum thread where someone had the same issue and ultimately solved it.  Do some searching for
    forum posts on this same subject; I'll bet you can turn up the information.
    I wish I'd been able to help you more directly, but don't lose hope.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Win 7 32bit or 64bit for PRE9 and PSE9

    Hi,
    I'm about to purchase a new computer.  Would the PE9 and PSE9 run ok on WIN 7 64bit?
    Thanks

    Ted Smith
    Could you please elaborate on when you wrote
    "One downside in 64b is you have to have twice the RAM installed with  64bit to have the same effectiveness for a 32 bit prog. (4gb in 64b =  2gb in 32b)".
    Are you talking about RAM (physical memory) or virtual address space (virtual memory)?
    This is my understanding of the situation. Premiere Elements (any version to date) is a 32 bit application that runs in the 32 bit compatibility mode of a 64 bit system and as such has the limitations of a 32 bit system, namely max supported installed RAM (physical memory) = 4 GB of which 3 GB or less of that is available. The perk of the 32 bit application in a 64 bit system is that the application gets 4 GB of virtual address space in contrast to the 2 GB it would get with a 32 bit application in a 32 bit system (unless of course you used the 3 GB Switch in XP or Vista where the application could get 3 GB virtual address space and the OS 1 GB virtual address space). In either case, the Premiere Elements header would need to be written appropriately to work (see link information), and I  believe that Adobe has written the header that way..
    http://msdn.microsoft.com/en-us/library/aa366778%28v=vs.85%29.aspx
    In Premiere Pro CS4 which I believe is a 32 bit application, Adobe appears to have optimized the program for 64 bit (with a virtual memory perk of creating multiple exe files so that each would have its own 2 GB virtual address space). So there the advantage is in virtual address space not installed RAM. With Premiere Pro CS5, that appears to be a 64 bit application which when run in a 64 bit system can take full advantage of the 64 bit system resources (RAM and virtual memory).
    I have Windows 7 Professional SP1 64 bit 4 GB RAM and 1 TB Local Hard Drive Space and have Photoshop Elements 9/Premiere Elements 9/Photoshop Elements 8/Premiere Elements 8.0/8.0.1, and Photoshop Elements 7/Premiere Elements 7 all installed without problems and are working fine in all aspects...no compatiblity issues...with exports and burn to DVD or Blu-ray. Of the 4 GB installed RAM, 3.8 is usable, and typically 2.7 is available.
    ATR

  • May I remove without any risk the two recovery partitions in win 8.1 Pro 64bit and what is the hidden reserved partition?

    I have this partition situation on my unic disc C & D for Windows 8.1 Pro at 64bits (see fig. 1)
    and this is the same list from diskpart:
    My first question is: may I remove partitions 1 and 5 without any risk?
    My second question is what is the reserved partition 3 and why is not mentioned in Disc Manager?
    Thanks for your help and excuse if the images are in Italian but I'am using an Italian OS.
    Rinog47
    rinog47

    I am not entirely convinced about your answer.
    Yes the first partition of 800 MB may be the OEM original partition, (by ASUS containing Win 8.0) that I upgraded with a disk to Windows 8.0 Pro, and than upgraded to Win 8.1 Pro from Windows Store.
    Now I made a full backup image of factory settings (win 8.0) on a USB key and now, after the upgrade to win 8.0 pro and then to win 8.1 this backup copy is useless.
    The second partition is a system EFI partition and because the disk is a GPT basic disk and not a MBR, that partition is where (is that correct?) are system and boot info together with the hidden reserved third partition.
    About the fourth recovery partition I suppose it was created when I created and installed Win 8.1 Preview on a VHD disk with double booting menu (that I deleted after the release of Windows 8.1).
    This is why I asked if the two recovery partitions can be safely removed.
    So, with this more info, may you review you answer and confirm or give me more details about all.
    Thanks in advance.
    rinog47

  • 64bit Vista - Problem Solved

    Well, not really. My frustration with lack of 64bit support in iTunes made me download VMWare Server and build a 32bit Windows XP virtual machine off my old laptop license. Now my iPhone is working just fine with my system. It is not just a giant battery charger for the iPhone.
    The problem with 64bit has been known for months and I gotta think that a wave of disgruntled iTunes users will hit post-December 25. Does anyone know if a solution is coming (other than the techie workaround I implemented)?

    iTunes 7.6 64bit version works great with Vista Ultimate 64bit.
    However, iTunes 7.6 breaks Windows XP (iPhone is detected but not identified properly). Unable to connect phone now to XP. Sigh.

  • 64bit and kde Solved thanks to evr

    I installed the 64bit system and then KDE but when I start KDE the screen freezes and I have to reboot, any ideas
    Last edited by normc (2009-04-06 19:23:01)

    is xorg working properly, what graphics driver are you using? also, is the hal daemon running?

  • Win 8.1 pro 64bit desktop blank screen after logon

    Hi all
    I have an ASUS P7H55M/USB 3 MB with i5 CPU 4Gig RAM NVIDEA 210 graphics card with latest drivers.
    My OS as above being an upgrade from 7 pro to win 8 pro then downloading win 8.1 from the store in the last three months.
    In the last few days I suddenly cant access my start screen/desktop after login. Even the usual custom page before the login is a generic blue background so none of my customized profiles shows its customized look.
    Again, desktop/startscreen black/blank.
    Able to access my files via ctrl alt del etc.
    Been reading up and doing restore etc as suggested on various sites including malware scans NO JOY.I even tried to just run a repair using my win 8 pro upgrade disc but the system wont allow something like invalid media or something and I don't have media
    for win 8.1 pro as mentioned.
    Can anyone suggest a solution please? or am I going to have to reinstall with all the internet data bundle costs included?

    In the last few days I suddenly cant access my start screen/desktop after login. Even the usual custom page before the login is a generic blue background so none of my customized profiles shows its customized look.
    A problem seen mostly be nVidia users seems to be that the screen being viewed is the secondary of an Extended display, e.g. with the primary being either another monitor or a phantom.  Try pressing Win-P, CursorUp, Enter as if you can display and use
    the Project dialog to shift from Extend to Duplicate.  There should at least be a screen refresh after the Enter.
    Able to access my files via ctrl alt del etc.
    Ah.  That sounds like another problem symptom.  Users of third-party system modifications saw this recently when there was an update to some kernel modules.  So, presumably explorer.exe is not running then?  And restarting it fails? 
    Event Viewer could be started then and it might give you some clues.  Otherwise if you do have system modifications try uninstalling them.
    Good luck
    Robert Aldwinckle

  • WORKAROUND/SOLVED: Kernel panic on Macbook Air 5,2 on Lion 10.7.5 on wake

    Hi all. I had been getting plagued by kernel panics with my relatively new Macbook Air (which I otherwise have had no issues with) when I did the following in sequence:
    While connected to a power supply, lock screen
    Close the lid
    Disconnect power supply
    Open the lid
    For me, this seemed to have been caused by the Automatically adjust brightness option. To access it, go to System Preferences > Displays > Automatically adjust brightness, and uncheck the box. I also unchecked similar options that dim the screen before sleep in Energy Saver. This seems to have fixed it. I'm including the full kernel panic report -- if you're having problems with kernel panics, give it a try. I'm going to see for the next few days if this solves the issue. My guess is that this option and the display driver for this computer are really not playing well together in this version of Lion. I tried various other things:
    Disabling bluetooth
    Using pmset to set the hibernatemode to 0 as well as 25
    Restting SMC
    and none of them fixed it. This did, though, or at least it seems that way -- I am going to check for the next few days and see how it does. I am not running any third party kexts, though I do have a few third party launch agents for daemons, servers and such which have been installed via Homebrew. Feel free to comment. I am definitely a little underwhelmed by this kind of behavior coming from what is a several thousand dollar piece investment that is the most important piece of equipment for me to do my work on any given day, but if I can bypass it for now without too much of a loss in functionality, so be it.
    Wed Nov 14 18:06:10 2012
    panic(cpu 2 caller 0xffffff80002c4794): Kernel trap at 0xffffff7f816a11f1, type 13=general protection, registers:
    CR0: 0x000000008001003b, CR2: 0x000000010c0c4000, CR3: 0x0000000000100000, CR4: 0x00000000001606e0
    RAX: 0x3f1cb290b54fb5d7, RBX: 0xffffff80d17da000, RCX: 0x0000000000000000, RDX: 0x0000000000000000
    RSP: 0xffffff80ef5cbb60, RBP: 0xffffff80ef5cbb70, RSI: 0x00000000b513b5c6, RDI: 0xffffff80d17da000
    R8:  0x000000000000001f, R9:  0xffffffffffffff00, R10: 0xffffffffffffffdf, R11: 0x0000000000000200
    R12: 0xffffff80d17da000, R13: 0x0000000000000000, R14: 0xffffff80d17da000, R15: 0xffffff80ef5cbbc0
    RFL: 0x0000000000010282, RIP: 0xffffff7f816a11f1, CS:  0x0000000000000008, SS:  0x0000000000000000
    CR2: 0x000000010c0c4000, Error code: 0x0000000000000000, Faulting CPU: 0x2
    Backtrace (CPU 2), Frame : Return Address
    0xffffff80ef5cb810 : 0xffffff8000220792
    0xffffff80ef5cb890 : 0xffffff80002c4794
    0xffffff80ef5cba40 : 0xffffff80002da55d
    0xffffff80ef5cba60 : 0xffffff7f816a11f1
    0xffffff80ef5cbb70 : 0xffffff7f816a2413
    0xffffff80ef5cbbb0 : 0xffffff7f81691e31
    0xffffff80ef5cbca0 : 0xffffff7f816aec05
    0xffffff80ef5cbce0 : 0xffffff7f81690257
    0xffffff80ef5cbd10 : 0xffffff7f80c92832
    0xffffff80ef5cbd50 : 0xffffff7f817184f0
    0xffffff80ef5cbda0 : 0xffffff7f8171a692
    0xffffff80ef5cbde0 : 0xffffff7f8171a7c4
    0xffffff80ef5cbe20 : 0xffffff7f80c964c5
    0xffffff80ef5cbe60 : 0xffffff7f80c96628
    0xffffff80ef5cbe90 : 0xffffff7f80c99fd7
    0xffffff80ef5cbef0 : 0xffffff800063d4d6
    0xffffff80ef5cbf30 : 0xffffff800063c250
    0xffffff80ef5cbf70 : 0xffffff800063c0f4
    0xffffff80ef5cbfb0 : 0xffffff8000820057
          Kernel Extensions in backtrace:
             com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f80c87000->0xffffff7f80cbffff
                dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f8086b000
             com.apple.driver.AppleIntelFramebufferCapri(7.3.2)[5D02E509-F60D-3312-9C3C-AF47 D6622C85]@0xffffff7f8170d000->0xffffff7f8176afff
                dependency: com.apple.iokit.IOACPIFamily(1.4)[19BAB11C-CE5E-3068-AD10-132019C59D6C]@0xfffff f7f80c30000
                dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f8086b000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f80c87000
             com.apple.driver.AppleIntelHD4000Graphics(7.3.2)[AD64F3E5-2838-3046-A9EA-1CB6C9 769436]@0xffffff7f8168d000->0xffffff7f816f3fff
                dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f8086b000
                dependency: com.apple.iokit.IONDRVSupport(2.3.4)[7C8672C4-8B0D-3CCF-A79A-23C62E90F895]@0xff ffff7f80cc0000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f80c87000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    11G63b
    Kernel version:
    Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
    Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
    System model name: MacBookAir5,2 (Mac-2E6FAB96566FE58C)
    System uptime in nanoseconds: 108364440503
    last loaded kext at 59338179474: com.apple.filesystems.smbfs          1.7.2 (addr 0xffffff7f807d9000, size 241664)
    last unloaded kext at 78468272086: com.apple.driver.AppleUSBTCKeyEventDriver          227.6 (addr 0xffffff7f814c7000, size 8192)
    loaded kexts:
    com.apple.filesystems.smbfs          1.7.2
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AGPM          100.12.75
    com.apple.driver.ApplePlatformEnabler          2.0.5d3
    com.apple.driver.X86PlatformShim          5.0.0d8
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDA          2.2.5a5
    com.apple.driver.AppleMikeyDriver          2.2.5a5
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AppleSMCPDRC          5.0.0d8
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.iokit.IOBluetoothSerialManager          4.0.8f17
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.3
    com.apple.driver.ApplePolicyControl          3.1.33
    com.apple.driver.AppleBacklight          170.2.2
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleIntelHD4000Graphics          7.3.2
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.driver.AppleIntelFramebufferCapri          7.3.2
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.8f17
    com.apple.driver.AppleUSBCardReader          3.0.6
    com.apple.driver.AppleUSBTCButtons          227.6
    com.apple.driver.AppleUSBTCKeyboard          227.6
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.1.0
    com.apple.driver.AirPort.Brcm4331          561.7.22
    com.apple.driver.AppleUSBHub          5.1.0
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleAHCIPort          2.3.1
    com.apple.driver.AppleUSBXHCI          1.1.0
    com.apple.driver.AppleACPIButtons          1.5
    com.apple.driver.AppleUSBEHCI          5.1.0
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.5
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          195.0.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1.4
    com.apple.security.TMSafetyNet          8
    com.apple.driver.AppleIntelCPUPowerManagement          195.0.0
    com.apple.kext.triggers          1.0
    com.apple.driver.DspFuncLib          2.2.5a5
    com.apple.driver.X86PlatformPlugin          5.1.1d6
    com.apple.driver.AppleHDAController          2.2.5a5
    com.apple.iokit.IOHDAFamily          2.2.5a5
    com.apple.iokit.IOSurface          80.0.2
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.iokit.IOAudioFamily          1.8.6fc18
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleGraphicsControl          3.1.33
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.IOPlatformPluginFamily          5.1.1d6
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IONDRVSupport          2.3.4
    com.apple.iokit.IOGraphicsFamily          2.3.4
    com.apple.driver.AppleSMC          3.1.3d10
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.8f17
    com.apple.iokit.IOBluetoothFamily          4.0.8f17
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.2.1
    com.apple.iokit.IOUSBMassStorageClass          3.0.3
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.2.1
    com.apple.driver.AppleThunderboltDPInAdapter          1.8.5
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.5
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.5
    com.apple.driver.AppleUSBMultitouch          230.5
    com.apple.iokit.IOUSBHIDDriver          5.0.0
    com.apple.driver.AppleUSBMergeNub          5.1.0
    com.apple.driver.AppleUSBComposite          5.0.0
    com.apple.driver.AppleThunderboltNHI          1.6.0
    com.apple.iokit.IOThunderboltFamily          2.0.3
    com.apple.iokit.IO80211Family          420.3
    com.apple.iokit.IONetworkingFamily          2.1
    com.apple.iokit.IOUSBUserClient          5.0.0
    com.apple.iokit.IOAHCIFamily          2.0.8
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOUSBFamily          5.1.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          177.8
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.driver.DiskImages          331.7
    com.apple.iokit.IOStorageFamily          1.7.2
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.5
    com.apple.iokit.IOPCIFamily          2.7
    com.apple.iokit.IOACPIFamily          1.4

    As far as my question itself -- why does this happen? Has anybody had this issue on Lion and had it resolved on Mountain Lion?

  • VBScript not working in OBI11g iBots in Win 2008 Server r2 - 64bits

    Hi,
    we are facing issues whilw running vbscript from OBI11g 64 bit (11.1.1.5.0 (Build 110427.0752 64-bit) in Win2008 64bit server.
    its running fine in win2003 32bit Server.
    The VBScript works as follows...
    1. Connects to Oracle DB (Oracle 11g 64 bit driver)
    2. Gets a max(Date) from a Table
    3 Creates a folder with that max(date) on shared drive.
    The script is working fine when running standalone - by double-clicking the .vbs file.
    But not working from the iBot.
    its thowing the below error:
    *[nQSError: 66013] [Line:18 Column:1]*
    *[nQSError: 66016] Unknown error code '0x8007007E'.*
    Line 18 -> Set adoConnection = CreateObject("ADODB.Connection")
    Its failing in "CreateObject" line.
    But everything works fine in win2003(32 bit)//OBI11g(32 bit)//Oracle 10g(32bit)
    we think, its a 32/64 bit issues from the OBI side... but couldn't figure out the solution.
    Please let me know if u need any more info.........
    waiting for your reply......

    '* Create objects to connect Database
    Option Explicit
    Dim adoConnection, adoRecordset
    Dim myDateString,strCon, strSQL
    Dim objFSO, objFolder, strDirectory,objFolderName
    Dim objTargetFolder
    Dim objSourceDirectory,objTargetDirectory,strDirectoryFolder
    DIm strzip,wshell,strdel
    '* Define the TNS Entry
    strCon = "Driver={Oracle in OraClient11g_home1};Dbq=ORADB;uid=XXXXXX;pwd=XXXXXX;"
    '* Define SQL Statement
    strSQL = "select to_char(max(A.DATE_ID),'DD-MON-YYYY') as CDT from daily_load_table a"
    '* Open Connection
    Set adoConnection = CreateObject("ADODB.Connection")
    adoConnection.ConnectionString = strCon
    adoConnection.Open
    Set adoRecordset = CreateObject("ADODB.Recordset")
    Set adoRecordset.ActiveConnection = adoConnection
    set wshell = CreateObject("WScript.Shell")
    adoRecordset.Source = strSQL
    adoRecordset.Open
    myDateString = adoRecordset.Fields("CDT").Value
    adoRecordset.Close
    adoConnection.Close
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    strDirectory = "D:\Scripts\tmp\"
    strDirectoryFolder= "D:\Scripts\tmp"
    objFolderName=strDirectory+myDateString
    Set objFolder = objFSO.CreateFolder(objFolderName)

  • How can I get arch-chroot to source /root/.profile [solved]

    I really like the arch-chroot script. When I come into the chroot using the script, I see that the shell is /bin/sh instead of bash. That is ok. How can I get the root user inside the chroot to source /root/.profile automatically? I have a line in there that will
    exec /usr/bin/bash
    . Thank you.
    Last edited by maggie (2013-09-16 19:27:20)

    2ManyDogs wrote:
    Beginner's Guide wrote:
    Note: Use
    arch-chroot /mnt /bin/bash
    to chroot into a bash shell.
    That works. Thank you.

  • Arch 64Bit inside VirtualBox [solved]

    Hello guys,
    I run a 64Bit version of Linux Mint 10 on my laptop with VirtualBox 4.0.4 installed. My Core 2 Duo T5870 supports the VT-x technology. However I can't install a 64Bit version of Arch. During the boot process I always get the following message:
    This kernel requires an x86-64 CPU, but only detected an i686 CPU.
    Unable to boot - please use a kernel appropriate for your CPU.
    Who can help me out?
    Regards
    Last edited by orschiro (2011-03-18 12:31:59)

    You created a 64-bit virtual machine, not just 32-bit right?
    How would I create a 64-bit machine? I just created a new one based on Linux and Arch, assigned a hard disk and that's it. There was no possibility to set or define the architecture.
    You may give me a hint.
    do you have the VT-x extensions enabled in your BIOS? I think OEMs usually disable them by default
    Can I check if VT-x is enabled during runtime? I think it should be enabled, but I'm not completely sure. And unfortunately I didn't find any setting in the BIOS of my Lenovo SL500.
    Regards
    Last edited by orschiro (2011-03-17 00:01:01)

  • What Win 7 (32bit or 64bit) is preinstalled on Satellite L500?

    Hello,
    my Webcam does not work and i tried to download a new driver.
    For this I have to know how many Bits (32 or 64) my Laptop has. Where can I see this?
    I have a Satellite L500, Windows 7.
    Many thanks!

    Hi
    Try this:
    - In Run type msinfo32.exe and press Enter
    - In System Information you will see either the x86-based or x64-based PC
    - X86 means 32bit and x64 means 64bit ;)
    Hope this is what you need to know

Maybe you are looking for

  • Labview FPGA for beginners.

    Hello. I have no idea what labview is and how to work with this. I have had some experience with Xilinx 12.1 EDK (microblaze and VHDL). I tried to install labview and labview fpga module. It asked for some drivers and I continued, the program said th

  • Too much power?

    Hi (first post ) I have just got a new battery, and now a "funny" error occor. When the battery runs dry of power, the computer shuts down, insted of going to the "standby mode" (don't know the word). When I charge the battery and the computer is tur

  • Resource Breakdown Structure and Item

    Hi, We have created a Planning Resource List using the Items defined in inventory's item master organization. The budget has been created with one line for each item. The budget and the actual cost is categorized using an RBS where the resource type

  • Best way to split 3D project with constantly moving cameras

    I created a 1 minute project in which the camera travels between 3 sets, while there is an animated 2D background. The background consists of overlaying .psd files which move around. The camera sweeps each set and then zooms to the next. Within each

  • How need to take screen shot of the screen using java.awt.Robot from javafx

    1) I am displaying a Stage which is having an image and shapes in it and wanted to take the screen shot as and when i move the shape( which moves the stage ). I am trying to java.awt.Robot, but i am getting headless exception. I used @Override public