Hirdetés
Új hozzászólás Aktív témák
-
Az Excelből dolgozna-t hogy képzeled el?
vbs-sel:
If UCase( Right( WScript.FullName, 12 ) ) = "\CSCRIPT.EXE" Then
wscript.echo "Please copy the script to the Desktop and drag a file to the script icon"
wscript.quit -1
End If
if WScript.Arguments.Count() <> 1 Then
wscript.echo "Please drag a file to the script icon"
wscript.quit -1
End If
filename = WScript.Arguments(0)
searchstring = InputBox("Search:")
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(filename)
lineno = 1
lines = ""
Do Until f.AtEndOfStream
line = f.ReadLine
If InStr(line, searchstring) > 0 Then
lines = lines & lineno & vbTab & line & vbCrLf
End If
lineno = lineno + 1
Loop
f.Close
If lines <> "" Then
wscript.echo lines
Else
wscript.echo searchstring & " not found"
End If
Új hozzászólás Aktív témák
- HP 14 Elitebook 640 G9 FHD IPS i5-1235U 4.4Ghz 10mag 16GB 256GB Intel Iris XE Win11 Pro Garancia
- BESZÁMÍTÁS! MSI B550M R7 5800X3D 32GB DDR4 1TB SSD RTX 4070 12GB ZALMAN M4 A-DATA 750W
- Samsung Galaxy A80 128GB, Kártyafüggetlen, 1 Év Garanciával
- 164 - Lenovo Legion Pro 7 (16IRX9H) - Intel Core i9-14900HX, RTX 4090
- Sony Playstation 5 1tb, Újszerű, Dobozával, 12 hónap garanciával
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest


