odd...
checked my "My Documents" folder which I see is a junction to the Documents folder.
05/12/2016 03:49 PM <JUNCTION> My Documents [C:\Users\jezequiel\Documents]
"dir /ad" shows junctions to 3 folders including "My Pictures"
Explorer does not show these.
05/12/2016 03:49 PM...
@echo off
setlocal
for %%J in (*.zip) do @call :func %%~nJ
goto :EOF
:func
set BAR=%1
set FOO=%BAR:_=.%
echo on
"D:\justin\portableapps\7-ZipPortable\App\7-Zip\7z.exe" a %BAR%.zip %FOO%_SUFFIX001.pdf
@echo off
goto :EOF
See Link.
basically, you just launch explorer.exe with the /select switch:
e.g.,
Dim sh
Set sh = CreateObject("WScript.Shell")
Call sh.Run("explorer.exe /select,""C:\Users\justin\Desktop\file 3.txt""")
above code should work faster if you change nd to a dict instead of a list
searching for an item in a list takes takes linear time O(n).
searching for an item in a dictionary requires constant time O(1).
so basically, you are creating an instance of MySqlCommand via
MySqlCommand cmd = new MySqlCommand(dataA, true);
I think you need to get the MySqlConnection object and pass that instead of true to the MySqlCommand constructor
try the following
Dim xmlDoc As New XmlDocument()
Dim namespaces As New XmlNamespaceManager(xmlDoc.NameTable)
namespaces.AddNamespace("ns", "urn:hl7-org:v3")
xmlDoc.Load("C:\testXML.xml")
Dim nodes As XmlNodeList =...
getting closer... following the code at build_exe.py of the py2exe package I got the following
import inspect
import marshal
p = r"C:\Users\justin\Desktop\processdownloadedfiles_pythonscript_1.bin"
f = open(p, 'rb')
s = f.read()
f.close()
o = marshal.loads(s[17:-2])
print o
code = o[-1]
print...
Greetings all,
We're trying to retrieve the code for an old python 2.4 program that was converted into a single-file executable using py2exe.
Programmer left without updating the files in SVN.
Using Seven Zip, I was able to retrieve from the .EXE file the *.pyo files for the imported modules...
for what it's worth. something similar happened to me when I first got Windows 7.
what "fixed" it for Excel (for me, YMMV) was to turn off add-ins
so I changed my start menu shortcut to
"C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /s /automation
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.