עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

עזרה| הכנת קובץ BAT

Featured Replies

פורסם

שלום חברים,
אני מעוניין להכין סקריפט (קובץ BAT - כל הפקודות דרך הCMD).
עכשיו אני מגיש את הפקודה הזאת: ping -a %Variable% -n 1 | findstr "Reply from"
ויוצא לי פלט כזה: Reply from 172.17.230.61: bytes=32 time<1ms TTL=128
אני מעוניין להעתיק רק את הכתובת 172.17.230.61 ולהוסיף אותה לקובץ קיים במחשב.

מישהו יכול לתת תשובה איך לעשות זאת?

תודה רבה

פורסם

ראשית לא בטוח שזה המקום לשאול את שאלתך - אבל אתגרת אותי :)

שנית אני ממש לא בטוח שאני מבין את הצורך ואולי אתה ניגש לזה בצורה קצת מוזרה

אבל לשאלתך - תחליף את המשתנה %1 באיזה משתנה שאתה רוצה אני מאמין שזה יעבוד.

 

יש יתרונות בלהיות "זקן"

@echo off
setlocal
for /F "tokens=1-4 delims= " %%i in ('ping %1 -n 1 ^|findstr /c:"Reply" ') do @set IPS=%%k
echo %IPS%>>IPfound.txt
endlocal

 

 

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.